<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: src/ArduinoAVR/Repetier/Configuration_act.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_configuration__act_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Configuration_act.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_configuration__act_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    This file is part of Repetier-Firmware.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    Repetier-Firmware is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    (at your option) any later version.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    Repetier-Firmware is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    along with Repetier-Firmware.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef CONFIGURATION_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define CONFIGURATION_H</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">/* Some words on units:</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">From 0.80 onwards the units used are unified for easier configuration, watch out when transferring from older configs!</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">Speed is in mm/s</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">Acceleration in mm/s^2</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">Temperature is in degrees celsius</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">##########################################################################################</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">##                                        IMPORTANT                                     ##</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">##########################################################################################</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">For easy configuration, the default settings enable parameter storage in EEPROM.</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">This means, after the first upload many variables can only be changed using the special</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">M commands as described in the documentation. Changing these values in the configuration.h</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">file has no effect. Parameters overriden by EEPROM settings are calibration values, extruder</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">values except thermistor tables and some other parameter likely to change during usage</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">like advance steps or ops mode.</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">To override EEPROM settings with config settings, set EEPROM_MODE 0</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">// BASIC SETTINGS: select your board type, thermistor type, axis scaling, and endstop configuration</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8cb1f491dd9270f6668ba7a5b0454799">   49</a></span>&#160;<span class="preprocessor">#define NUM_EXTRUDER 1</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a59d1c99e58e4f4c1ca262e6ee817b780">   52</a></span>&#160;<span class="preprocessor">#define MIXING_EXTRUDER 0</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// Gen3 PLUS for RepRap Motherboard V1.2 = 21</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">// MEGA/RAMPS up to 1.2       = 3</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">// RAMPS 1.3/RAMPS 1.4        = 33</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">// Azteeg X3                  = 34</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">// Azteeg X3 Pro              = 35</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment">// Ultimaker Shield 1.5.7     = 37</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">// Gen6                       = 5</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">// Gen6 deluxe                = 51</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">// Sanguinololu up to 1.1     = 6</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">// Sanguinololu 1.2 and above = 62</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">// 3Drag/Velleman K8200       = 66 (experimental)</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">// Open Motion Controller     = 91</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">// Melzi board                = 63  // Define REPRAPPRO_HUXLEY if you have one for correct HEATER_1_PIN assignment!</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">// Azteeg X1                  = 65</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">// 3Drag/Velleman K8200 (experimental) = 66</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">// Gen7 1.1 till 1.3.x        = 7</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment">// Gen7 1.4.1 and later       = 71</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment">// Sethi 3D_1                 = 72</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment">// Teensylu (at90usb)         = 8 // requires Teensyduino</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">// Printrboard (at90usb)      = 9 // requires Teensyduino</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">// Printrboard Ref. F or newer= 92 // requires Teensyduino</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">// Foltyn 3D Master           = 12</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">// MegaTronics 1.0            = 70</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">// Megatronics 2.0            = 701</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment">// Megatronics 3.0            = 703 // Thermistors predefined not thermocouples</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">// Minitronics 1.0            = 702</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">// RUMBA                      = 80  // Get it from reprapdiscount</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">// FELIXprinters              = 101</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment">// Rambo                      = 301</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">// PiBot for Repetier V1.0-1.3= 314</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment">// PiBot for Repetier V1.4    = 315</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">// PiBot Controller V2.0      = 316</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="comment">// Sanguish Beta              = 501</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">// Unique One rev. A          = 88</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">// SAV MK1                    = 89</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment">// MJRice Pica Rev B          = 183</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="comment">// MJRice Pica Rev C          = 184</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment">// User layout defined in userpins.h = 999</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a90a6f18a03e3c38a95a38089380c086a">   94</a></span>&#160;<span class="preprocessor">#define MOTHERBOARD 33</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="pins_8h.html">pins.h</a>&quot;</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">// Override pin definitions from pins.h</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">//#define FAN_PIN   4  // Extruder 2 uses the default fan output, so move to an other pin</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad126eef4389db84b98f8ede917c0de8d">  100</a></span>&#160;<span class="preprocessor">#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment">We can connect BlueTooth to serial converter module directly to boards based on AtMega2560 or AtMega1280 and some boards based on AtMega2561, AtMega1281 or AtMega1284p</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">- On Melzi boards connect BT to TX1 and RX1 pins, then set BLUETOOTH_SERIAL to 1</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">- On RUMBA boards connect BT to pin 11 and 12 of X3 connector, then set BLUETOOTH_SERIAL to 3</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment">- On RAMBO boards connect BT to pins 5,6 or 7,8 or 9,10 on Serial connector, then accordingly set BLUETOOTH_SERIAL to 1,2 or 3</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">- On RAMPS we must remap Y_ENDSTOPS pins or Z_ENDSTOPZ pins or LCD_ENABLE and LCD_RS pins to another pins, and connect BT to:</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">  a) signals of Y_MIN, Y_MAX, then set BLUETOOTH_SERIAL to 3 (RX from BT to Y_MIN, TX from BT to Y_MAX)</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">  b) signals of Z_MIN, Z_MAX, then set BLUETOOTH_SERIAL to 1 (RX from BT to Z_MIN, TX from BT to Z_MAX)</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">  c) pin 17 and 18 of AUX4 connector, then set BLUETOOTH_SERIAL to 2 (RX from BT to AUX4 p18, TX from BT to AUX4 p17)</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment">  Comment out or set the BLUETOOTH_SERIAL to 0 or -1 to disable this feature.</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a38cfb82d048611b999f259bb58610745">  113</a></span>&#160;<span class="preprocessor">#define BLUETOOTH_SERIAL   1                      // Port number (1..3) - For RUMBA use 3</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6b993d874b2322655db1cd8d3ae30709">  114</a></span>&#160;<span class="preprocessor">#define BLUETOOTH_BAUD     115200                 // communication speed</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">// Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0</span></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">// If it is incompatible you will get compiler errors about write functions not being compatible!</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">//#define COMPAT_PRE1</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment">/* Define the type of axis movements needed for your printer. The typical case</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="comment">is a full cartesian system where x, y and z moves are handled by separate motors.</span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">0 = full cartesian system, xyz have separate motors.</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">1 = z axis + xy H-gantry (x_motor = x+y, y_motor = x-y)</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">2 = z axis + xy H-gantry (x_motor = x+y, y_motor = y-x)</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">3 = Delta printers (Rostock, Kossel, RostockMax, Cerberus, etc)</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">4 = Tuga printer (Scott-Russell mechanism)</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">5 = Bipod system (not implemented)</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">8 = y axis + xz H-gantry (x_motor = x+z, z_motor = x-z)</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">9 = y axis + xz H-gantry (x_motor = x+z, z_motor = z-x)</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">Cases 1, 2, 8 and 9 cover all needed xy and xz H gantry systems. If you get results mirrored etc. you can swap motor connections for x and y.</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">If a motor turns in the wrong direction change INVERT_X_DIR or INVERT_Y_DIR.</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a07c83ca8d93f264a9b477cd94c678fe7">  134</a></span>&#160;<span class="preprocessor">#define DRIVE_SYSTEM 0</span></div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">/* You can write some GCODE to be executed on startup. Use this e.g. to set some </span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">pins. Separate multiple GCODEs with \n</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">//#define STARTUP_GCODE &quot;&quot;</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">// ##                               Calibration                                            ##</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#if DRIVE_SYSTEM == DELTA</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="comment">// ***************************************************</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="comment">// *** These parameter are only for Delta printers ***</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="comment">// ***************************************************</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a270568782353c563b3e74f61fe4de530">  153</a></span>&#160;<span class="preprocessor">#define DELTA_DRIVE_TYPE 0</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#if DELTA_DRIVE_TYPE == 0</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa92a8c47eaaec172cef729d7ce94ce2b">  157</a></span>&#160;<span class="preprocessor">#define BELT_PITCH 2</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aef12670208165d43e653354798f4f88d">  159</a></span>&#160;<span class="preprocessor">#define PULLEY_TEETH 20</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a81e95165488ba83f08f627e5bf0cc4b7">  160</a></span>&#160;<span class="preprocessor">#define PULLEY_CIRCUMFERENCE (BELT_PITCH * PULLEY_TEETH)</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">#elif DELTA_DRIVE_TYPE == 1</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#define PULLEY_DIAMETER 10</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">#define PULLEY_CIRCUMFERENCE (PULLEY_DIAMETER * 3.1415927)</span></div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0a22e3b9090cfe79759b073286539253">  168</a></span>&#160;<span class="preprocessor">#define STEPS_PER_ROTATION 200</span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a21b401c3abf168eecffd0c8f70bc6f6b">  171</a></span>&#160;<span class="preprocessor">#define MICRO_STEPS 16</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment">// Calculations</span></div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3ec19302abffc18c2dd0375599f2c235">  174</a></span>&#160;<span class="preprocessor">#define AXIS_STEPS_PER_MM ((float)(MICRO_STEPS * STEPS_PER_ROTATION) / PULLEY_CIRCUMFERENCE)</span></div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a72532fd06152bb6611ef6d35d05e1d41">  175</a></span>&#160;<span class="preprocessor">#define XAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM</span></div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8781262a1849bb33736fd374ba37d34a">  176</a></span>&#160;<span class="preprocessor">#define YAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8410fd94dd62e48904dd82b300496130">  177</a></span>&#160;<span class="preprocessor">#define ZAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment">// *******************************************************</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment">// *** These parameter are for all other printer types ***</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment">// *******************************************************</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#define XAXIS_STEPS_PER_MM 98.425196</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#define YAXIS_STEPS_PER_MM 98.425196</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#define ZAXIS_STEPS_PER_MM 2560</span></div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="comment">// ##                           Extruder configuration                                     ##</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment">// You can use either PWM (pulse width modulation) or PDM (pulse density modulation) for</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment">// extruders or coolers. PDM will give more signal changes per second, so on average it gives</span></div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="comment">// the cleaner signal. The only advantage of PWM is giving signals at a fixed rate and never more</span></div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="comment">// then PWM.</span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a25213eb2b78d528a322409a47c3befde">  204</a></span>&#160;<span class="preprocessor">#define PDM_FOR_EXTRUDER 1</span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0d6abbdc2d1ccc7b7de335406e147330">  205</a></span>&#160;<span class="preprocessor">#define PDM_FOR_COOLER 1</span></div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="comment">// The firmware checks if the heater and sensor got decoupled, which is dangerous. Since it will never reach target</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="comment">// temperature, the heater will stay on for every which can burn your printer or house.</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment">// As an additional barrier to your smoke detectors (I hope you have one above your printer) we now</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="comment">// do some more checks to detect if something got wrong.</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="comment">// If the temp. is on hold target, it may not sway more then this degrees celsius, or we mark</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="comment">// sensor as defect.</span></div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a873e39653106f4d5f105ce4d7663a747">  214</a></span>&#160;<span class="preprocessor">#define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20</span></div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="comment">// Minimum temp. rise we expect after the set duration of full heating is over.</span></div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="comment">// Always keep a good safety margin to get no false positives. If your period is e.g. 10 seconds</span></div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="comment">// because at startup you already need 7 seconds until heater starts to rise temp. for sensor</span></div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment">// then you have 3 seconds of increased heating to reach 1°C.</span></div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a37ba4d240b3c28770b624b01ed768598">  219</a></span>&#160;<span class="preprocessor">#define DECOUPLING_TEST_MIN_TEMP_RISE 1</span></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="comment">// Set to 1 if you want firmware to kill print on decouple</span></div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a793796e7dae3fe5ea3408af00c70fb48">  221</a></span>&#160;<span class="preprocessor">#define KILL_IF_SENSOR_DEFECT 0</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="comment">// for each extruder, fan will stay on until extruder temperature is below this value</span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aea4522d18c3cb7707c97180bf00e38a9">  223</a></span>&#160;<span class="preprocessor">#define EXTRUDER_FAN_COOL_TEMP 50</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="comment">// Retraction for sd pause over lcd</span></div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5814939e8e4b0505816dd12f6db06f3b">  225</a></span>&#160;<span class="preprocessor">#define RETRACT_ON_PAUSE 2</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="comment">// These commands get executed after storing position and going to park position.</span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab16f9fdf34891a8060c34b956c183778">  227</a></span>&#160;<span class="preprocessor">#define PAUSE_START_COMMANDS &quot;&quot;</span></div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="comment">// These commands get executed before we go to stored position.</span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a953527733e1770eb031f14e97b1aac6c">  229</a></span>&#160;<span class="preprocessor">#define PAUSE_END_COMMANDS &quot;&quot;</span></div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment">/* Set to 1 if all extruders use the same heater block. Temp. control is then always</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="comment">controlled by settings in extruder 0 definition. */</span></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a36e912fca9af7ad72e56c1b77d72d899">  232</a></span>&#160;<span class="preprocessor">#define SHARED_EXTRUDER_HEATER 0</span></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment">/* Speed in mm/s for extruder moves fom internal commands, e.g. switching extruder. */</span></div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aeb81f2528eb84d33a9275b82d9f2c04b">  234</a></span>&#160;<span class="preprocessor">#define EXTRUDER_SWITCH_XY_SPEED 100</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="comment">// Extruder offsets in steps not mm!</span></div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a602f54bd2c928cac4fad9ddd37d6a896">  237</a></span>&#160;<span class="preprocessor">#define EXT0_X_OFFSET 0</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a00cab1e160327abca37fcee438e5a816">  238</a></span>&#160;<span class="preprocessor">#define EXT0_Y_OFFSET 0</span></div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6e1ff9562d95b2ece57e393aa1fed7b2">  239</a></span>&#160;<span class="preprocessor">#define EXT0_Z_OFFSET 0</span></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="comment">// for skeinforge 40 and later, steps to pull the plastic 1 mm inside the extruder, not out.  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afd02318a39ecb907684ab453d56fbf99">  241</a></span>&#160;<span class="preprocessor">#define EXT0_STEPS_PER_MM 413 //385</span></div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">// What type of sensor is used?</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="comment">// 0 is no thermistor/temperature control</span></div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="comment">// 1 is 100k thermistor (Epcos B57560G0107F000 - RepRap-Fab.org and many other)</span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="comment">// 2 is 200k thermistor</span></div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment">// 3 is mendel-parts thermistor (EPCOS G550)</span></div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="comment">// 4 is 10k thermistor</span></div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="comment">// 8 is ATC Semitec 104GT-2</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment">// 12 is 100k RS thermistor 198-961</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment">// 13 is PT100 for E3D/Ultimaker</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment">// 14 is 100K NTC 3950</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment">// 15 DYZE DESIGN 500°C Thermistor</span></div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="comment">// 16 is B3 innovations 500°C sensor</span></div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="comment">// 5 is userdefined thermistor table 0</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment">// 6 is userdefined thermistor table 1</span></div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="comment">// 7 is userdefined thermistor table 2</span></div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="comment">// 50 is userdefined thermistor table 0 for PTC thermistors</span></div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="comment">// 51 is userdefined thermistor table 0 for PTC thermistors</span></div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment">// 52 is userdefined thermistor table 0 for PTC thermistors</span></div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">// 60 is AD8494, AD8495, AD8496 or AD8497 (5mV/degC and 1/4 the price of AD595 but only MSOT_08 package)</span></div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment">// 61 is AD8494, AD8495, AD8496 or AD8497 (5mV/degC and 1.25 Vref offset like adafruit breakout)</span></div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment">// 97 Generic thermistor table 1</span></div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="comment">// 98 Generic thermistor table 2</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="comment">// 99 Generic thermistor table 3</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="comment">// 100 is AD595</span></div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="comment">// 101 is MAX6675</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="comment">// 102 is MAX31855</span></div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa36796338507f6dddbf7d4964c6f740d">  268</a></span>&#160;<span class="preprocessor">#define EXT0_TEMPSENSOR_TYPE 1</span></div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="comment">// Analog input pin for reading temperatures or pin enabling SS for MAX6675</span></div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad34404c86e225ce594c317b84556541e">  270</a></span>&#160;<span class="preprocessor">#define EXT0_TEMPSENSOR_PIN TEMP_0_PIN</span></div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="comment">// Which pin enables the heater</span></div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aeefa06ad16c004185a5dbcf6f4f8642f">  272</a></span>&#160;<span class="preprocessor">#define EXT0_HEATER_PIN HEATER_0_PIN</span></div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a500527759a4c15569c4a69efe2811dc1">  273</a></span>&#160;<span class="preprocessor">#define EXT0_STEP_PIN E0_STEP_PIN</span></div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa05066c7d6379276615dcab8f5e5eb1f">  274</a></span>&#160;<span class="preprocessor">#define EXT0_DIR_PIN E0_DIR_PIN</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="comment">// set to false/true for normal / inverse direction</span></div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4d7548e7d077d740e66361405f821e36">  276</a></span>&#160;<span class="preprocessor">#define EXT0_INVERSE true</span></div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1d2b536d0751a942656d556613481b95">  277</a></span>&#160;<span class="preprocessor">#define EXT0_ENABLE_PIN E0_ENABLE_PIN</span></div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="comment">// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1</span></div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a30f9bdf00c36767d4c9329f636de4e82">  279</a></span>&#160;<span class="preprocessor">#define EXT0_ENABLE_ON 0</span></div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="comment">/* Set to 1 to mirror motor. Pins for mirrored motor are below */</span></div><div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6cb5250b9a5054d942a12026833bc5e8">  281</a></span>&#160;<span class="preprocessor">#define EXT0_MIRROR_STEPPER 0</span></div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ade54713cd72f9db4009577ad2d488fa3">  282</a></span>&#160;<span class="preprocessor">#define EXT0_STEP2_PIN E0_STEP_PIN</span></div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a050fac7a3a29aaedf3bf0fea36787628">  283</a></span>&#160;<span class="preprocessor">#define EXT0_DIR2_PIN E0_DIR_PIN</span></div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a79e6affcc25977c0fa17b640dce10743">  284</a></span>&#160;<span class="preprocessor">#define EXT0_INVERSE2 false</span></div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a72b9bf5769270082973e2b4d61a6baf3">  285</a></span>&#160;<span class="preprocessor">#define EXT0_ENABLE2_PIN E0_ENABLE_PIN</span></div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="comment">// The following speed settings are for skeinforge 40+ where e is the</span></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="comment">// length of filament pulled inside the heater. For repsnap or older</span></div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="comment">// skeinforge use higher values.</span></div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="comment">//  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac436a35cc3678431777106325f0db62a">  290</a></span>&#160;<span class="preprocessor">#define EXT0_MAX_FEEDRATE 30</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="comment">// Feedrate from halted extruder in mm/s</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="comment">//  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae711b829c8bd6a1f837a3bc448154404">  293</a></span>&#160;<span class="preprocessor">#define EXT0_MAX_START_FEEDRATE 10</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment">// Acceleration in mm/s^2</span></div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">//  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aff146e72c56b77076a697555b8e04c42">  296</a></span>&#160;<span class="preprocessor">#define EXT0_MAX_ACCELERATION 4000</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4f7bb4c4c6b5ace3ef06f93a95bc1320">  303</a></span>&#160;<span class="preprocessor">#define EXT0_HEAT_MANAGER 1</span></div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8dd829694ef267199fcf8b11e7c7e961">  305</a></span>&#160;<span class="preprocessor">#define EXT0_WATCHPERIOD 1</span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac396977aff5c8f768351c6657497e4af">  317</a></span>&#160;<span class="preprocessor">#define EXT0_PID_INTEGRAL_DRIVE_MAX 140</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae2e964b10225e0b1ada81187fd6ae407">  325</a></span>&#160;<span class="preprocessor">#define EXT0_PID_INTEGRAL_DRIVE_MIN 60</span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5f3b81edf41e3e420116741f12ccabfe">  327</a></span>&#160;<span class="preprocessor">#define EXT0_PID_PGAIN_OR_DEAD_TIME   24</span></div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2c4244b5f6507936f58e83baef6133f2">  330</a></span>&#160;<span class="preprocessor">#define EXT0_PID_I   0.88</span></div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6cefe567e56369dedd3efbb04eb30737">  332</a></span>&#160;<span class="preprocessor">#define EXT0_PID_D 80</span></div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment">// maximum time the heater is can be switched on. Max = 255.  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adfb2192d3c11c6eb519b2a67e7957a4f">  334</a></span>&#160;<span class="preprocessor">#define EXT0_PID_MAX 255</span></div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adba446ad427bf3bf4f1aa23d0dadfb0a">  340</a></span>&#160;<span class="preprocessor">#define EXT0_ADVANCE_K 0.0f</span></div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1e090e7843885bcfb96398f986488cbc">  341</a></span>&#160;<span class="preprocessor">#define EXT0_ADVANCE_L 0.0f</span></div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="comment">/* Motor steps to remove backlash for advance algorithm. These are the steps</span></div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<span class="comment">needed to move the motor cog in reverse direction until it hits the driving</span></div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="comment">cog. Direct drive extruder need 0. */</span></div><div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2d7b013803a8a356ce900b96168bdf48">  345</a></span>&#160;<span class="preprocessor">#define EXT0_ADVANCE_BACKLASH_STEPS 0</span></div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5ea67cbc7ad8483969be5599dddaf89d">  348</a></span>&#160;<span class="preprocessor">#define EXT0_WAIT_RETRACT_TEMP          150</span></div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa7a64c6c073793d2ba0b822221d85e2f">  352</a></span>&#160;<span class="preprocessor">#define EXT0_WAIT_RETRACT_UNITS         0</span></div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7fe6c9161180687dc08de8baf0f5d997">  357</a></span>&#160;<span class="preprocessor">#define EXT0_SELECT_COMMANDS &quot;M117 Extruder 1&quot;</span></div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a322745adad097f15f7d6428968f11884">  358</a></span>&#160;<span class="preprocessor">#define EXT0_DESELECT_COMMANDS &quot;&quot;</span></div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a60a8379b48860a892629008c5dfa5a77">  360</a></span>&#160;<span class="preprocessor">#define EXT0_EXTRUDER_COOLER_PIN -1</span></div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a324981d80431aca554dbc7070f3b40ae">  362</a></span>&#160;<span class="preprocessor">#define EXT0_EXTRUDER_COOLER_SPEED 255</span></div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a003a8b9242906b6b29a07035c3ef90ef">  365</a></span>&#160;<span class="preprocessor">#define EXT0_DECOUPLE_TEST_PERIOD 18000</span></div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa7ee3c84ce06afc6527b5f78cd082881">  367</a></span>&#160;<span class="preprocessor">#define EXT0_JAM_PIN -1</span></div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5ba32f28b7cca6543632d6c14bbf1527">  369</a></span>&#160;<span class="preprocessor">#define EXT0_JAM_PULLUP false</span></div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<span class="comment">// =========================== Configuration for second extruder ========================</span></div><div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9370d4e224c3a105b2d20a0855aa0870">  372</a></span>&#160;<span class="preprocessor">#define EXT1_X_OFFSET 0</span></div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a39a4554891e9bdfcb08fd0d6c74ed4c3">  373</a></span>&#160;<span class="preprocessor">#define EXT1_Y_OFFSET 0</span></div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aaefbb152f3e060d4c42c4e4919ee0d45">  374</a></span>&#160;<span class="preprocessor">#define EXT1_Z_OFFSET 0</span></div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="comment">// for skeinforge 40 and later, steps to pull the plastic 1 mm inside the extruder, not out.  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a43478caab7ff2ef321b69386a5462670">  376</a></span>&#160;<span class="preprocessor">#define EXT1_STEPS_PER_MM 373</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="comment">// What type of sensor is used?</span></div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="comment">// 0 is no thermistor/temperature control</span></div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="comment">// 1 is 100k thermistor (Epcos B57560G0107F000 - RepRap-Fab.org and many other)</span></div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="comment">// 2 is 200k thermistor</span></div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="comment">// 3 is mendel-parts thermistor (EPCOS G550)</span></div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="comment">// 4 is 10k thermistor</span></div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">// 5 is userdefined thermistor table 0</span></div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<span class="comment">// 6 is userdefined thermistor table 1</span></div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<span class="comment">// 7 is userdefined thermistor table 2</span></div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;<span class="comment">// 8 is ATC Semitec 104GT-2</span></div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="comment">// 50 is userdefined thermistor table 0 for PTC thermistors</span></div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">// 51 is userdefined thermistor table 0 for PTC thermistors</span></div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="comment">// 52 is userdefined thermistor table 0 for PTC thermistors</span></div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="comment">// 60 is AD8494, AD8495, AD8496 or AD8497 (5mV/degC and 1/4 the price of AD595 but only MSOT_08 package)</span></div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="comment">// 61 is AD8494, AD8495, AD8496 or AD8497 (5mV/degC and 1.25 Vref offset like adafruit breakout)</span></div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="comment">// 97 Generic thermistor table 1</span></div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="comment">// 98 Generic thermistor table 2</span></div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="comment">// 99 Generic thermistor table 3</span></div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="comment">// 100 is AD595</span></div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;<span class="comment">// 101 is MAX6675</span></div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aab34954744968cb9caa878b9209aba1a">  397</a></span>&#160;<span class="preprocessor">#define EXT1_TEMPSENSOR_TYPE 3</span></div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;<span class="comment">// Analog input pin for reading temperatures or pin enabling SS for MAX6675</span></div><div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aff9bf6b6094565a0d865f5c50d5a977b">  399</a></span>&#160;<span class="preprocessor">#define EXT1_TEMPSENSOR_PIN TEMP_2_PIN</span></div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;<span class="comment">// Which pin enables the heater</span></div><div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af3bf0232b3b4c84f347466cc28939c6b">  401</a></span>&#160;<span class="preprocessor">#define EXT1_HEATER_PIN HEATER_2_PIN</span></div><div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a44f7f33acf4ae9e2d2d6873adba91b67">  402</a></span>&#160;<span class="preprocessor">#define EXT1_STEP_PIN E1_STEP_PIN</span></div><div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aac15c2cf2fef99337a69696c1407049a">  403</a></span>&#160;<span class="preprocessor">#define EXT1_DIR_PIN E1_DIR_PIN</span></div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="comment">// set to 0/1 for normal / inverse direction</span></div><div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aaf701c8f32898b0ae48c54cf2ff40718">  405</a></span>&#160;<span class="preprocessor">#define EXT1_INVERSE false</span></div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afd36ea6b043bb7a83f870c97a696e2bb">  406</a></span>&#160;<span class="preprocessor">#define EXT1_ENABLE_PIN E1_ENABLE_PIN</span></div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;<span class="comment">// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1</span></div><div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a19b5703cb59ec4db35be6241aaff6f83">  408</a></span>&#160;<span class="preprocessor">#define EXT1_ENABLE_ON false</span></div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="comment">/* Set to 1 to mirror motor. Pins for mirrored motor are below */</span></div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab8962eaf22baf38e9d03c049b8e078d9">  410</a></span>&#160;<span class="preprocessor">#define EXT1_MIRROR_STEPPER 0</span></div><div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a25aa0a780ac1f91c2e95e2ea69dee1ab">  411</a></span>&#160;<span class="preprocessor">#define EXT1_STEP2_PIN E0_STEP_PIN</span></div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a085cc5c28d293309fc6338d4f564c866">  412</a></span>&#160;<span class="preprocessor">#define EXT1_DIR2_PIN E0_DIR_PIN</span></div><div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afe78625227b90ed688c7bb7ae15ae07d">  413</a></span>&#160;<span class="preprocessor">#define EXT1_INVERSE2 false</span></div><div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afa64053176faab3a409503f0d2f7e307">  414</a></span>&#160;<span class="preprocessor">#define EXT1_ENABLE2_PIN E0_ENABLE_PIN</span></div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;<span class="comment">// The following speed settings are for skeinforge 40+ where e is the</span></div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<span class="comment">// length of filament pulled inside the heater. For repsnap or older</span></div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;<span class="comment">// skeinforge use heigher values.</span></div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;<span class="comment">//  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a57280bfd149b95f6f9caf52acff2a94c">  419</a></span>&#160;<span class="preprocessor">#define EXT1_MAX_FEEDRATE 25</span></div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;<span class="comment">// Feedrate from halted extruder in mm/s</span></div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;<span class="comment">//  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aba69f47c8f4663795daf25653b4a0ac8">  422</a></span>&#160;<span class="preprocessor">#define EXT1_MAX_START_FEEDRATE 12</span></div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;<span class="comment">// Acceleration in mm/s^2</span></div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="comment">//  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2c40dc802d0473b767694bc6dfe4d400">  425</a></span>&#160;<span class="preprocessor">#define EXT1_MAX_ACCELERATION 10000</span></div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a97870aca6c1d518a58b413f47d6ffb55">  431</a></span>&#160;<span class="preprocessor">#define EXT1_HEAT_MANAGER 1</span></div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a469bcafb78997c6a67145366ff305b0d">  433</a></span>&#160;<span class="preprocessor">#define EXT1_WATCHPERIOD 1</span></div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1bd694801deb4c3e661dd8f9757388ce">  445</a></span>&#160;<span class="preprocessor">#define EXT1_PID_INTEGRAL_DRIVE_MAX 130</span></div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7698976648a15ee1c3e66a859d08190a">  453</a></span>&#160;<span class="preprocessor">#define EXT1_PID_INTEGRAL_DRIVE_MIN 60</span></div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a66f24fe6cace4b3bbf8e5ff4a01977cd">  455</a></span>&#160;<span class="preprocessor">#define EXT1_PID_PGAIN_OR_DEAD_TIME   24</span></div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div><div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1a014098717cd14d8ce6a4b365101614">  458</a></span>&#160;<span class="preprocessor">#define EXT1_PID_I   0.88</span></div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div><div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a34b2134028121deaf28c5500f390b466">  460</a></span>&#160;<span class="preprocessor">#define EXT1_PID_D 200</span></div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;<span class="comment">// maximum time the heater is can be switched on. Max = 255.  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a04a7280d4a7136f9222a8a46abb34de1">  462</a></span>&#160;<span class="preprocessor">#define EXT1_PID_MAX 255</span></div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a20d37bb739aa0a0b0438e718d5046995">  468</a></span>&#160;<span class="preprocessor">#define EXT1_ADVANCE_K 0.0f</span></div><div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8636e8ae656bdde3994db653f6c39fca">  469</a></span>&#160;<span class="preprocessor">#define EXT1_ADVANCE_L 0.0f</span></div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="comment">/* Motor steps to remove backlash for advance algorithm. These are the steps</span></div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;<span class="comment">needed to move the motor cog in reverse direction until it hits the driving</span></div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;<span class="comment">cog. Direct drive extruder need 0. */</span></div><div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa5ea7e9c2b1d0472b65a8c335ab9bae1">  473</a></span>&#160;<span class="preprocessor">#define EXT1_ADVANCE_BACKLASH_STEPS 0</span></div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa32a4200673f161a548645244758575a">  475</a></span>&#160;<span class="preprocessor">#define EXT1_WAIT_RETRACT_TEMP  150</span></div><div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3108e27d5bd74a0f86a7790d1c783da4">  476</a></span>&#160;<span class="preprocessor">#define EXT1_WAIT_RETRACT_UNITS 0</span></div><div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acfb1b649118012323d66651a03fb5d38">  477</a></span>&#160;<span class="preprocessor">#define EXT1_SELECT_COMMANDS &quot;M117 Extruder 2&quot;</span></div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2a7c114962299fb818aad0ccb969c7bc">  478</a></span>&#160;<span class="preprocessor">#define EXT1_DESELECT_COMMANDS &quot;&quot;</span></div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div><div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adacf9e2f5707d98189c35d27e13fd03c">  480</a></span>&#160;<span class="preprocessor">#define EXT1_EXTRUDER_COOLER_PIN -1</span></div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;</div><div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ace5ba84495fa172f7f6cb163e24c929e">  482</a></span>&#160;<span class="preprocessor">#define EXT1_EXTRUDER_COOLER_SPEED 255</span></div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a17c4914421cd3a962301229b11e2ce4f">  485</a></span>&#160;<span class="preprocessor">#define EXT1_DECOUPLE_TEST_PERIOD 18000</span></div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;</div><div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4621d014c5198c5c43ead909074feac6">  487</a></span>&#160;<span class="preprocessor">#define EXT1_JAM_PIN -1</span></div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;</div><div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1e1ede93426262d9510ee8fccbd47eac">  489</a></span>&#160;<span class="preprocessor">#define EXT1_JAM_PULLUP false</span></div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;</div><div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abc7bd548aa3d883f6bf227c8b934e8dd">  493</a></span>&#160;<span class="preprocessor">#define RETRACT_DURING_HEATUP 1</span></div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;</div><div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8b60868e87c9e95ad48c1d2ced0a2c35">  496</a></span>&#160;<span class="preprocessor">#define FEATURE_RETRACTION 1</span></div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;</div><div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad92586e62263edc4381f7bc1c38dd54c">  499</a></span>&#160;<span class="preprocessor">#define AUTORETRACT_ENABLED 0</span></div><div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad2369660635c0a3f4bbb5271198572b6">  500</a></span>&#160;<span class="preprocessor">#define RETRACTION_LENGTH 3</span></div><div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5e91f9495dca1a8a69ad362ac044ce3d">  501</a></span>&#160;<span class="preprocessor">#define RETRACTION_LONG_LENGTH 13</span></div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac9bdf3c587b4f336b60e391ca85e56cd">  502</a></span>&#160;<span class="preprocessor">#define RETRACTION_SPEED 40</span></div><div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad2ea8dcb082bad4037f0c3cbd10a3870">  503</a></span>&#160;<span class="preprocessor">#define RETRACTION_Z_LIFT 0</span></div><div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5e2e7f7ec40f5217e39a3351bb518df9">  504</a></span>&#160;<span class="preprocessor">#define RETRACTION_UNDO_EXTRA_LENGTH 0</span></div><div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af9a9c88bb6efb1991bbcf857631c0284">  505</a></span>&#160;<span class="preprocessor">#define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0</span></div><div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2da72a4294badcfc2f5f384d1149a4f7">  506</a></span>&#160;<span class="preprocessor">#define RETRACTION_UNDO_SPEED 20</span></div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div><div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a26bc13a1cc5e0ce659ea8817b93aef2a">  512</a></span>&#160;<span class="preprocessor">#define FILAMENTCHANGE_X_POS 0</span></div><div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aba7d24f553b925ed51e2b669a58d3d01">  513</a></span>&#160;<span class="preprocessor">#define FILAMENTCHANGE_Y_POS 0</span></div><div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a210033ebedfd719169e957de9d14ab3b">  514</a></span>&#160;<span class="preprocessor">#define FILAMENTCHANGE_Z_ADD 1</span></div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div><div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4dda4b8b30ab2569afeb1420a5f149ef">  519</a></span>&#160;<span class="preprocessor">#define FILAMENTCHANGE_REHOME 1</span></div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;</div><div class="line"><a name="l00523"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0e31cd790c099b01be8f0ea9d9ce7153">  523</a></span>&#160;<span class="preprocessor">#define FILAMENTCHANGE_SHORTRETRACT 30</span></div><div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa7497a5fc40a1a6352078f638454b702">  524</a></span>&#160;<span class="preprocessor">#define FILAMENTCHANGE_LONGRETRACT 30</span></div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;</div><div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;<span class="comment">/* Define how we detect jam/out of filament</span></div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;<span class="comment">   1 = Distance between signal changes increase</span></div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;<span class="comment">   2 = signal gets high</span></div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;<span class="comment">   3 = signal gets low</span></div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;<span class="comment">   </span></div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;<span class="comment">   2 and 3 are not jam detections, but only out of filament detection by a switch</span></div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<span class="comment">   that changes the signal! </span></div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00534"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1828f8f1085dc9bdc972657469fc05e8">  534</a></span>&#160;<span class="preprocessor">#define JAM_METHOD 1</span></div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="comment">// Steps normally needed for a full signal cycle.</span></div><div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a52d2ba26156dbd12dbd9e82bc6a4717f">  536</a></span>&#160;<span class="preprocessor">#define JAM_STEPS 220</span></div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;<span class="comment">// Steps for reducing speed. Must be higher then JAM_STEPS</span></div><div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad1ca4706c6a11e105cc65bcc8fb5f108">  538</a></span>&#160;<span class="preprocessor">#define JAM_SLOWDOWN_STEPS 380</span></div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;<span class="comment">// New speed multiplier which gets set when slowdown is reached.</span></div><div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a570da18aa582b6c0009c74cea23e14d1">  540</a></span>&#160;<span class="preprocessor">#define JAM_SLOWDOWN_TO 70</span></div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="comment">// Last fallback. If we slip this much, we want to pause.</span></div><div class="line"><a name="l00542"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a369fce0d01652c824d82da07247c9505">  542</a></span>&#160;<span class="preprocessor">#define JAM_ERROR_STEPS 430</span></div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;</div><div class="line"><a name="l00545"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9e1df429744f812b0ad9fac39dd0d6e6">  545</a></span>&#160;<span class="preprocessor">#define JAM_MIN_STEPS 10</span></div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="comment">Determine what should be done if a jam is detected</span></div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;<span class="comment">0 : Nothing, just mark extruder as jammed.</span></div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;<span class="comment">1 : Jam/out of filament dialog and block communication.</span></div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<span class="comment">2 : Message to host/server otherwise continue and mark extruder jammed</span></div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00552"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af39d5478cb1be5de5ccf79c603c4e221">  552</a></span>&#160;<span class="preprocessor">#define JAM_ACTION 1</span></div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;</div><div class="line"><a name="l00558"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad558811085bc740e2f321421e6aef424">  558</a></span>&#160;<span class="preprocessor">#define PID_CONTROL_RANGE 20</span></div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div><div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5d1b46d81791ea320c65266441cf9a13">  562</a></span>&#160;<span class="preprocessor">#define EXTRUDE_MAXLENGTH 100</span></div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;</div><div class="line"><a name="l00564"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a77af8750d303d708512c1e64a4c1b416">  564</a></span>&#160;<span class="preprocessor">#define SKIP_M109_IF_WITHIN 2</span></div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;</div><div class="line"><a name="l00573"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aeba3c210690a31bfb8fabc07afce1f6b">  573</a></span>&#160;<span class="preprocessor">#define SCALE_PID_TO_MAX 0</span></div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;</div><div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8eeac666700512780b357d24c0604342">  576</a></span>&#160;<span class="preprocessor">#define HEATER_PWM_SPEED 1 // How fast ist pwm signal 0 = 15.25Hz, 1 = 30.51Hz, 2 = 61.03Hz, 3 = 122.06Hz</span></div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;<span class="comment">//#define TEMP_HYSTERESIS 5</span></div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;</div><div class="line"><a name="l00601"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a32325a715535efb34c4b98105b50745e">  601</a></span>&#160;<span class="preprocessor">#define NUM_TEMPS_USERTHERMISTOR0 28</span></div><div class="line"><a name="l00602"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a550e80efe233bf43601feaebe50fa9a8">  602</a></span>&#160;<span class="preprocessor">#define USER_THERMISTORTABLE0  {\</span></div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;<span class="preprocessor">  {1*4,864*8},{21*4,300*8},{25*4,290*8},{29*4,280*8},{33*4,270*8},{39*4,260*8},{46*4,250*8},{54*4,240*8},{64*4,230*8},{75*4,220*8},\</span></div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;<span class="preprocessor">  {90*4,210*8},{107*4,200*8},{128*4,190*8},{154*4,180*8},{184*4,170*8},{221*4,160*8},{265*4,150*8},{316*4,140*8},{375*4,130*8},\</span></div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;<span class="preprocessor">  {441*4,120*8},{513*4,110*8},{588*4,100*8},{734*4,80*8},{856*4,60*8},{938*4,40*8},{986*4,20*8},{1008*4,0*8},{1018*4,-20*8}     }</span></div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aca1b42d580395a27d2a46e064d83bac7">  608</a></span>&#160;<span class="preprocessor">#define NUM_TEMPS_USERTHERMISTOR1 0</span></div><div class="line"><a name="l00609"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a661012a52420483eda439846f00fabd2">  609</a></span>&#160;<span class="preprocessor">#define USER_THERMISTORTABLE1  {}</span></div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;</div><div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a82c8102a4461b6d9dfc74074f89ac5c5">  611</a></span>&#160;<span class="preprocessor">#define NUM_TEMPS_USERTHERMISTOR2 0</span></div><div class="line"><a name="l00612"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4c15037cdc427465c0a591093ad7f00a">  612</a></span>&#160;<span class="preprocessor">#define USER_THERMISTORTABLE2  {}</span></div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;</div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;<span class="comment">//#define USE_GENERIC_THERMISTORTABLE_1</span></div><div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;<span class="comment">/* Some examples for different thermistors:</span></div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;<span class="comment">EPCOS B57560G104+ : R0 = 100000  T0 = 25  Beta = 4036</span></div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;<span class="comment">EPCOS 100K Thermistor (B57560G1104F) :  R0 = 100000  T0 = 25  Beta = 4092</span></div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;<span class="comment">ATC Semitec 104GT-2 : R0 = 100000  T0 = 25  Beta = 4267</span></div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;<span class="comment">Honeywell 100K Thermistor (135-104LAG-J01)  : R0 = 100000  T0 = 25  Beta = 3974</span></div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;</div><div class="line"><a name="l00648"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a477d5ab3153a97973b5a2a8f4d7f0f1d">  648</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_T0 25</span></div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;</div><div class="line"><a name="l00650"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5ca6efa89931bc58dd1a3330cc2ca2ab">  650</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_R0 100000</span></div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;</div><div class="line"><a name="l00656"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac6ab266194902e244ffb38a2b0d656ff">  656</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_BETA 4036</span></div><div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;</div><div class="line"><a name="l00658"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad05f4af83a13d1f6f5576d3898f0ad0e">  658</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_MIN_TEMP -20</span></div><div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;</div><div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac2ef3266e4fdb8a1bb31777c5f3ebccc">  660</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_MAX_TEMP 300</span></div><div class="line"><a name="l00661"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a49090bf756ad1045c6cfc9cce75128a8">  661</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_R1 0</span></div><div class="line"><a name="l00662"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3655538b5b4be5c0b033a7912978a383">  662</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM1_R2 4700</span></div><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;<span class="comment">// The same for table 2 and 3 if needed</span></div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;</div><div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;<span class="comment">//#define USE_GENERIC_THERMISTORTABLE_2</span></div><div class="line"><a name="l00667"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9b4fc95c0ba90c99a3cd3ac82347f639">  667</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_T0 170</span></div><div class="line"><a name="l00668"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad0a47f2c06b7d0cc03c3fd8521321acd">  668</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_R0 1042.7</span></div><div class="line"><a name="l00669"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a56ee793696b482845f27a339da5d4d40">  669</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_BETA 4036</span></div><div class="line"><a name="l00670"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aacd341f31f3a19e26e3e74841d20b9d9">  670</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_MIN_TEMP -20</span></div><div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2b7ec0ea07a785bf825c915068f9e8a8">  671</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_MAX_TEMP 300</span></div><div class="line"><a name="l00672"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abb84fa9d4e74efca5212515416b32182">  672</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_R1 0</span></div><div class="line"><a name="l00673"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a584ada6ac40433d3a9df4b06023cf05e">  673</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM2_R2 4700</span></div><div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;<span class="comment">//#define USE_GENERIC_THERMISTORTABLE_3</span></div><div class="line"><a name="l00676"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3791a81833ce78fb1bbaef6778f165a6">  676</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_T0 170</span></div><div class="line"><a name="l00677"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aea437e5dca4dcb222cac9a815541198d">  677</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_R0 1042.7</span></div><div class="line"><a name="l00678"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aeb9e1dc322ccce4f93feabfa1a2ebf5c">  678</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_BETA 4036</span></div><div class="line"><a name="l00679"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9231f5f56beb0c47a61efef4c37973c3">  679</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_MIN_TEMP -20</span></div><div class="line"><a name="l00680"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1424b76833c6143666ca6b71aa1a0ec8">  680</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_MAX_TEMP 300</span></div><div class="line"><a name="l00681"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a28083b2d70e43e223559ee254425f231">  681</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_R1 0</span></div><div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae8ee9766538219c8f1c84088c6aa61ce">  682</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM3_R2 4700</span></div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;</div><div class="line"><a name="l00685"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a45fa6366f5bfe2d85b6e5218a9ed39cd">  685</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM_VREF 5</span></div><div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;</div><div class="line"><a name="l00688"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a050ae208528dd0f3604240bf56e7abbc">  688</a></span>&#160;<span class="preprocessor">#define GENERIC_THERM_NUM_ENTRIES 33</span></div><div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;</div><div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;<span class="comment">// uncomment the following line for MAX6675 support.</span></div><div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;<span class="comment">//#define SUPPORT_MAX6675</span></div><div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;<span class="comment">// uncomment the following line for MAX31855 support.</span></div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;<span class="comment">//#define SUPPORT_MAX31855</span></div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;</div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;<span class="comment">// ############# Heated bed configuration ########################</span></div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;</div><div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af497238d15c9887103688ca9a2831e54">  698</a></span>&#160;<span class="preprocessor">#define HAVE_HEATED_BED 1</span></div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div><div class="line"><a name="l00700"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a87286c0ff48fb57d50277e2d2a67d961">  700</a></span>&#160;<span class="preprocessor">#define HEATED_BED_MAX_TEMP 115</span></div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;</div><div class="line"><a name="l00702"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2070df069021bc6c7e4c240f8cf47318">  702</a></span>&#160;<span class="preprocessor">#define SKIP_M190_IF_WITHIN 3</span></div><div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;</div><div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;<span class="comment">// Select type of your heated bed. It&#39;s the same as for EXT0_TEMPSENSOR_TYPE</span></div><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;<span class="comment">// set to 0 if you don&#39;t have a heated bed</span></div><div class="line"><a name="l00706"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5df62475b1594399911a233e82fdd66c">  706</a></span>&#160;<span class="preprocessor">#define HEATED_BED_SENSOR_TYPE 1</span></div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;</div><div class="line"><a name="l00708"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad800cbe7e9d08c57fc0055cc875559b9">  708</a></span>&#160;<span class="preprocessor">#define HEATED_BED_SENSOR_PIN TEMP_1_PIN</span></div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;</div><div class="line"><a name="l00710"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae2a519d2386a922335b64968bee3a675">  710</a></span>&#160;<span class="preprocessor">#define HEATED_BED_HEATER_PIN HEATER_1_PIN</span></div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;<span class="comment">// How often the temperature of the heated bed is set (msec)</span></div><div class="line"><a name="l00712"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad832ef07ba7bac7af033df64b73ff67b">  712</a></span>&#160;<span class="preprocessor">#define HEATED_BED_SET_INTERVAL 5000</span></div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;</div><div class="line"><a name="l00721"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad1929cde6fe0b05d274e19faebb1e194">  721</a></span>&#160;<span class="preprocessor">#define HEATED_BED_HEAT_MANAGER 1</span></div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;</div><div class="line"><a name="l00726"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa03ef2bf14a818ef8e9d5ddde39f4282">  726</a></span>&#160;<span class="preprocessor">#define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255</span></div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;</div><div class="line"><a name="l00734"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6fe7675a3991230372f55ff6810ac145">  734</a></span>&#160;<span class="preprocessor">#define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80</span></div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;</div><div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a37da9f02726479d59a49cbf1c8e83531">  736</a></span>&#160;<span class="preprocessor">#define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   196</span></div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;</div><div class="line"><a name="l00738"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1c3700c0340fbe283e131ac1c684cea5">  738</a></span>&#160;<span class="preprocessor">#define HEATED_BED_PID_IGAIN   33.02</span></div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;</div><div class="line"><a name="l00740"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8a273bedf59a150b30df2b683617d6bc">  740</a></span>&#160;<span class="preprocessor">#define HEATED_BED_PID_DGAIN 290</span></div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;<span class="comment">// maximum time the heater can be switched on. Max = 255.  Overridden if EEPROM activated.</span></div><div class="line"><a name="l00742"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac11ebc6b9995267a1cc65aa15438900b">  742</a></span>&#160;<span class="preprocessor">#define HEATED_BED_PID_MAX 255</span></div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;<span class="comment">// Time to see a temp. change when fully heating. Consider that beds at higher temp. need longer to rise and cold</span></div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;<span class="comment">// beds need some time to get the temp. to the sensor. Time is in milliseconds! Set 0 to disable</span></div><div class="line"><a name="l00745"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a268b8e6eee02ca1c2b297565a49be3af">  745</a></span>&#160;<span class="preprocessor">#define HEATED_BED_DECOUPLE_TEST_PERIOD 300000</span></div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;</div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;<span class="comment">// When temperature exceeds max temp, your heater will be switched off.</span></div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;<span class="comment">// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!</span></div><div class="line"><a name="l00749"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1b93da4072588f486fb962e7aa094d73">  749</a></span>&#160;<span class="preprocessor">#define MAXTEMP 260</span></div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;</div><div class="line"><a name="l00752"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a95d699ac75bcea47d055774068e6a8ce">  752</a></span>&#160;<span class="preprocessor">#define MIN_DEFECT_TEMPERATURE -10</span></div><div class="line"><a name="l00753"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afcf5d7d5403d22027359ae7db7c1ea92">  753</a></span>&#160;<span class="preprocessor">#define MAX_DEFECT_TEMPERATURE 300</span></div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;</div><div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;<span class="comment">//How many milliseconds a hot end will preheat before starting to check the</span></div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;<span class="comment">//temperature. This value should NOT be set to the time it takes the</span></div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;<span class="comment">//hot end to reach the target temperature, but should be set to the time it </span></div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;<span class="comment">//takes to reach the minimum temperature your thermistor can read. The lower</span></div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;<span class="comment">//the better/safer, and shouldn&#39;t need to be more than 30 seconds (30000) </span></div><div class="line"><a name="l00760"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8edfbbd644ea66911fc3688f4be18e96">  760</a></span>&#160;<span class="preprocessor">#define MILLISECONDS_PREHEAT_TIME 30000</span></div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;<span class="comment">// ##                             Laser configuration                                      ##</span></div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;</div><div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;<span class="comment">If the firmware is in laser mode, it can control a laser output to cut or engrave materials.</span></div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;<span class="comment">Please use this feature only if you know about safety and required protection. Lasers are</span></div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;<span class="comment">dangerous and can hurt or make you blind!!!</span></div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;<span class="comment">The default laser driver only supports laser on and off. Here you control the intensity with</span></div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;<span class="comment">your feedrate. For exchangeable diode lasers this is normally enough. If you need more control</span></div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;<span class="comment">you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h</span></div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;<span class="comment">and comments on how to extend the functions non invasive with our event system.</span></div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="comment">If you have a laser - powder system you will like your E override. If moves contain a </span></div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;<span class="comment">increasing extruder position it will laser that move. With this trick you can</span></div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;<span class="comment">use existing FDM slicers to laser the output. Laser width is extrusion width.</span></div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;<span class="comment">Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled</span></div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;<span class="comment">and G0 moves have it disables.</span></div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;<span class="comment">In any case, laser only enables while moving. At the end of a move it gets</span></div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;<span class="comment">automatically disabled. </span></div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;</div><div class="line"><a name="l00787"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a56eace2aa94fff0d849c68b7ac1e8e07">  787</a></span>&#160;<span class="preprocessor">#define SUPPORT_LASER 0 // set 1 to enable laser support</span></div><div class="line"><a name="l00788"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a45f5803169b049a5832800dc2383d010">  788</a></span>&#160;<span class="preprocessor">#define LASER_PIN -1    // set to pin enabling laser</span></div><div class="line"><a name="l00789"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad70dc949e7c9dd68ca9e17f22ee1ea2e">  789</a></span>&#160;<span class="preprocessor">#define LASER_ON_HIGH 1 // Set 0 if low signal enables laser</span></div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;</div><div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;<span class="comment">// ##                              CNC configuration                                       ##</span></div><div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;<span class="comment">If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works </span></div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;<span class="comment">similar to laser mode, but mill keeps enabled during G0 moves and it allows</span></div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;<span class="comment">setting rpm (only with event extension that supports this) and milling direction.</span></div><div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;<span class="comment">It also can add a delay to wait for spindle to run on full speed.</span></div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;</div><div class="line"><a name="l00802"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6dc216e8f7f7756014043c08a0f320b4">  802</a></span>&#160;<span class="preprocessor">#define SUPPORT_CNC 0 // Set 1 for CNC support</span></div><div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afc2a8c96ee5b2cb899d01bf344d0b8d7">  803</a></span>&#160;<span class="preprocessor">#define CNC_WAIT_ON_ENABLE 300 // wait x milliseconds after enabling</span></div><div class="line"><a name="l00804"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8006c7d3d3f3537192293f8d6902d279">  804</a></span>&#160;<span class="preprocessor">#define CNC_WAIT_ON_DISABLE 0 // delay in milliseconds after disabling spindle. May be required for direction changes.</span></div><div class="line"><a name="l00805"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa2fd790833f5daba7504baffabb42616">  805</a></span>&#160;<span class="preprocessor">#define CNC_ENABLE_PIN -1 // Pin to enable mill</span></div><div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a48749c80f750bea852d2def0bc30920e">  806</a></span>&#160;<span class="preprocessor">#define CNC_ENABLE_WITH 1 // Set 0 if low enables spindle</span></div><div class="line"><a name="l00807"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a076e34e07652d17cee640cb1d0465455">  807</a></span>&#160;<span class="preprocessor">#define CNC_DIRECTION_PIN -1 // Set to pin if direction control is possible</span></div><div class="line"><a name="l00808"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4bbb0632c2164c02e190caecfac250a5">  808</a></span>&#160;<span class="preprocessor">#define CNC_DIRECTION_CW 1 // Set signal required for clockwise rotation</span></div><div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;</div><div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;<span class="comment">/* Select the default mode when the printer gets enables. Possible values are</span></div><div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;<span class="comment">PRINTER_MODE_FFF 0</span></div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;<span class="comment">PRINTER_MODE_LASER 1</span></div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;<span class="comment">PRINTER_MODE_CNC 2</span></div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00816"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a18a88b6cc1ad282c7609dda53988f472">  816</a></span>&#160;<span class="preprocessor">#define DEFAULT_PRINTER_MODE PRINTER_MODE_FFF</span></div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;<span class="comment">// ##                            Endstop configuration                                     ##</span></div><div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;</div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;<span class="comment">/* By default all endstops are pulled up to HIGH. You need a pull-up if you</span></div><div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;<span class="comment">use a mechanical endstop connected with GND. Set value to false for no pull-up</span></div><div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;<span class="comment">on this endstop.</span></div><div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00826"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aeb6d9a7a15162b1184c6753118d7fcc9">  826</a></span>&#160;<span class="preprocessor">#define ENDSTOP_PULLUP_X_MIN false</span></div><div class="line"><a name="l00827"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a21203f0d65bfa571d3fe4e531d91c7b7">  827</a></span>&#160;<span class="preprocessor">#define ENDSTOP_PULLUP_Y_MIN false</span></div><div class="line"><a name="l00828"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0a04ee9c34ed6011b8aa1e1552613bb6">  828</a></span>&#160;<span class="preprocessor">#define ENDSTOP_PULLUP_Z_MIN false</span></div><div class="line"><a name="l00829"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adb46d9921ce79f6e9863d11364e70b43">  829</a></span>&#160;<span class="preprocessor">#define ENDSTOP_PULLUP_X_MAX true</span></div><div class="line"><a name="l00830"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8cd5150d5d1d949420417632fa02d209">  830</a></span>&#160;<span class="preprocessor">#define ENDSTOP_PULLUP_Y_MAX true</span></div><div class="line"><a name="l00831"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afda109e0fadad8a3ca613ece0d91cbe3">  831</a></span>&#160;<span class="preprocessor">#define ENDSTOP_PULLUP_Z_MAX false</span></div><div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;</div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;<span class="comment">//set to true to invert the logic of the endstops</span></div><div class="line"><a name="l00834"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a36361f907337c0106876c3b3d0c0a775">  834</a></span>&#160;<span class="preprocessor">#define ENDSTOP_X_MIN_INVERTING true</span></div><div class="line"><a name="l00835"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae8a42c460d07a2ebfc7d468f8da71087">  835</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Y_MIN_INVERTING true</span></div><div class="line"><a name="l00836"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a802ae8540a5ae109a395643485566211">  836</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Z_MIN_INVERTING true</span></div><div class="line"><a name="l00837"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a69329bd7889e14a8ee122db11a065c7f">  837</a></span>&#160;<span class="preprocessor">#define ENDSTOP_X_MAX_INVERTING false</span></div><div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3773b0e5b679517c578a5b2ef5268fb9">  838</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Y_MAX_INVERTING false</span></div><div class="line"><a name="l00839"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa142f86dfc0d1342ecdbe410c0d18d8c">  839</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Z_MAX_INVERTING true</span></div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;</div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;<span class="comment">// Set the values true where you have a hardware endstop. The Pin number is taken from pins.h.</span></div><div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;</div><div class="line"><a name="l00843"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a507ad30ef3567957aa1cd24b528fb0cb">  843</a></span>&#160;<span class="preprocessor">#define MIN_HARDWARE_ENDSTOP_X true</span></div><div class="line"><a name="l00844"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0a2bd598fb1cb4a0952c3a5a020d598d">  844</a></span>&#160;<span class="preprocessor">#define MIN_HARDWARE_ENDSTOP_Y true</span></div><div class="line"><a name="l00845"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7b618ecda4db4b5cd7b186258aeba986">  845</a></span>&#160;<span class="preprocessor">#define MIN_HARDWARE_ENDSTOP_Z false</span></div><div class="line"><a name="l00846"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa36e4ac255e81a1401601820c39cbc76">  846</a></span>&#160;<span class="preprocessor">#define MAX_HARDWARE_ENDSTOP_X false</span></div><div class="line"><a name="l00847"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a77127905ccaad40f6e384cbba7f64313">  847</a></span>&#160;<span class="preprocessor">#define MAX_HARDWARE_ENDSTOP_Y false</span></div><div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad523815e06fa281c39458539c82ff3c5">  848</a></span>&#160;<span class="preprocessor">#define MAX_HARDWARE_ENDSTOP_Z true</span></div><div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;<span class="comment">//If your axes are only moving in one direction, make sure the endstops are connected properly.</span></div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;<span class="comment">//If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here</span></div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;</div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;</div><div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;</div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;</div><div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;<span class="comment">// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1</span></div><div class="line"><a name="l00858"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7afdf61cfd5a42d565ac71759dc05974">  858</a></span>&#160;<span class="preprocessor">#define X_ENABLE_ON 0</span></div><div class="line"><a name="l00859"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acc0bb5bd702433e1d38a31f6584ed821">  859</a></span>&#160;<span class="preprocessor">#define Y_ENABLE_ON 0</span></div><div class="line"><a name="l00860"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6ed17da670ae70c7666be298862e3c27">  860</a></span>&#160;<span class="preprocessor">#define Z_ENABLE_ON 0</span></div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;<span class="comment">// Disables axis when it&#39;s not being used.</span></div><div class="line"><a name="l00863"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9f7183dc5b8aa69d693ee84b906f2641">  863</a></span>&#160;<span class="preprocessor">#define DISABLE_X false</span></div><div class="line"><a name="l00864"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a80a96c3a651dda99af25b7dc3f2d2f17">  864</a></span>&#160;<span class="preprocessor">#define DISABLE_Y false</span></div><div class="line"><a name="l00865"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9d01b4ec87ea3a211d83ab75d6b4ec9e">  865</a></span>&#160;<span class="preprocessor">#define DISABLE_Z false</span></div><div class="line"><a name="l00866"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3ea6d4ec2118ee62a5171b02a295018a">  866</a></span>&#160;<span class="preprocessor">#define DISABLE_E false</span></div><div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;<span class="comment">/* If you want to keep z motor running on stepper timeout, remove comments below.</span></div><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;<span class="comment">  This may be useful if your z bed moves when motors are disabled. Will still</span></div><div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;<span class="comment">  turn z off when heaters get also disabled. </span></div><div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;<span class="comment">//#define PREVENT_Z_DISABLE_ON_STEPPER_TIMEOUT</span></div><div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;</div><div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;<span class="comment">// Inverting motor direction. Only in case of pure cartesian printers, this</span></div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;<span class="comment">// is also the axis you invert!</span></div><div class="line"><a name="l00875"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a178df9ff3acad1d612a5d194ccc148c1">  875</a></span>&#160;<span class="preprocessor">#define INVERT_X_DIR true</span></div><div class="line"><a name="l00876"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1b0a90f40d48a2f35f6265ba5ab7399c">  876</a></span>&#160;<span class="preprocessor">#define INVERT_Y_DIR true</span></div><div class="line"><a name="l00877"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ace7e04e0e8a6994bcfb576d34ba54a8f">  877</a></span>&#160;<span class="preprocessor">#define INVERT_Z_DIR true</span></div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;</div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;<span class="comment">// Sets direction of endstops when homing; 1=MAX, -1=MIN</span></div><div class="line"><a name="l00881"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2944654fc8082ed77783a57c21a634bc">  881</a></span>&#160;<span class="preprocessor">#define X_HOME_DIR -1</span></div><div class="line"><a name="l00882"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9fea75ea9dba3ccfd3e37bb262efdb4c">  882</a></span>&#160;<span class="preprocessor">#define Y_HOME_DIR -1</span></div><div class="line"><a name="l00883"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a23221a87aec075edb27eb06d530fdf09">  883</a></span>&#160;<span class="preprocessor">#define Z_HOME_DIR 1</span></div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;</div><div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;<span class="comment">// Delta robot radius endstop</span></div><div class="line"><a name="l00886"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abc2dab53e2e920c1c8f95ac3095a107e">  886</a></span>&#160;<span class="preprocessor">#define max_software_endstop_r true</span></div><div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;</div><div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;<span class="comment">//If true, axis won&#39;t move to coordinates less than zero.</span></div><div class="line"><a name="l00889"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2fed5dda29e02984a779bf339da29474">  889</a></span>&#160;<span class="preprocessor">#define min_software_endstop_x false</span></div><div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afe518625c397b009050ac6938b370318">  890</a></span>&#160;<span class="preprocessor">#define min_software_endstop_y false</span></div><div class="line"><a name="l00891"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4d02d6b42d1ee5cff91bb46cfc2b6594">  891</a></span>&#160;<span class="preprocessor">#define min_software_endstop_z false</span></div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;</div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;<span class="comment">//If true, axis won&#39;t move to coordinates greater than the defined lengths below.</span></div><div class="line"><a name="l00894"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac6e6af9d5bd4feaa00f7b18fc5140d53">  894</a></span>&#160;<span class="preprocessor">#define max_software_endstop_x true</span></div><div class="line"><a name="l00895"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a523a930efc25e0e19b8d47fca14f61f5">  895</a></span>&#160;<span class="preprocessor">#define max_software_endstop_y true</span></div><div class="line"><a name="l00896"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a35873e42a82dcc5fa4b381407eeeb2e1">  896</a></span>&#160;<span class="preprocessor">#define max_software_endstop_z false</span></div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;</div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;<span class="comment">// If during homing the endstop is reached, ho many mm should the printer move back for the second try</span></div><div class="line"><a name="l00899"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab4f088a347798148173e552d44a54f25">  899</a></span>&#160;<span class="preprocessor">#define ENDSTOP_X_BACK_MOVE 5</span></div><div class="line"><a name="l00900"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5417e23cdc3cc75223208668670c69e9">  900</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Y_BACK_MOVE 5</span></div><div class="line"><a name="l00901"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a10bf1e4237660ef20f2671784c9718df">  901</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Z_BACK_MOVE 2</span></div><div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;</div><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;<span class="comment">// For higher precision you can reduce the speed for the second test on the endstop</span></div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;<span class="comment">// during homing operation. The homing speed is divided by the value. 1 = same speed, 2 = half speed</span></div><div class="line"><a name="l00905"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6b5b2b9368f030107f2c07d542a9e3ca">  905</a></span>&#160;<span class="preprocessor">#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 2</span></div><div class="line"><a name="l00906"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a450bb9d0a86d80b6c98982dc4fc3fc52">  906</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 2</span></div><div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5e76728af384dd3ee5a7e3aeb37a5b05">  907</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 2</span></div><div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;</div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;<span class="comment">// When you have several endstops in one circuit you need to disable it after homing by moving a</span></div><div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;<span class="comment">// small amount back. This is also the case with H-belt systems.</span></div><div class="line"><a name="l00911"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7871963ee425f04109d56eed47ff493f">  911</a></span>&#160;<span class="preprocessor">#define ENDSTOP_X_BACK_ON_HOME 1</span></div><div class="line"><a name="l00912"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3a4de9c8a0a48a77c937e717622c5d06">  912</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Y_BACK_ON_HOME 1</span></div><div class="line"><a name="l00913"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adb026d4e2e3a99db5ba92ced0de22e51">  913</a></span>&#160;<span class="preprocessor">#define ENDSTOP_Z_BACK_ON_HOME 0</span></div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;</div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;<span class="comment">// You can disable endstop checking for print moves. This is needed, if you get sometimes</span></div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;<span class="comment">// false signals from your endstops. If your endstops don&#39;t give false signals, you</span></div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;<span class="comment">// can set it on for safety.</span></div><div class="line"><a name="l00918"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a17ce3bb9d0988ef866a24fa47d2edfcf">  918</a></span>&#160;<span class="preprocessor">#define ALWAYS_CHECK_ENDSTOPS 1</span></div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;</div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;<span class="comment">// maximum positions in mm - only fixed numbers!</span></div><div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;<span class="comment">// For delta robot Z_MAX_LENGTH is the maximum travel of the towers and should be set to the distance between the hotend</span></div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;<span class="comment">// and the platform when the printer is at its home position.</span></div><div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;<span class="comment">// If EEPROM is enabled these values will be overridden with the values in the EEPROM</span></div><div class="line"><a name="l00924"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3d38dfe2e06bb0eba6cec5ac159fe370">  924</a></span>&#160;<span class="preprocessor">#define X_MAX_LENGTH 165</span></div><div class="line"><a name="l00925"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adfbd7c1fdaa51033a32bc81cf22da42d">  925</a></span>&#160;<span class="preprocessor">#define Y_MAX_LENGTH 175</span></div><div class="line"><a name="l00926"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae3581b4dea69d291b0aa6dba1097d57d">  926</a></span>&#160;<span class="preprocessor">#define Z_MAX_LENGTH 116.820</span></div><div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;<span class="comment">// Coordinates for the minimum axis. Can also be negative if you want to have the bed start at 0 and the printer can go to the left side</span></div><div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;<span class="comment">// of the bed. Maximum coordinate is given by adding the above X_MAX_LENGTH values.</span></div><div class="line"><a name="l00929"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a113b0d62a745e9907333f0e688d21fa4">  929</a></span>&#160;<span class="preprocessor">#define X_MIN_POS 0</span></div><div class="line"><a name="l00930"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af5ff596cc0d5f7b93e8f4c458372a9b0">  930</a></span>&#160;<span class="preprocessor">#define Y_MIN_POS 0</span></div><div class="line"><a name="l00931"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1f6b01a417191454d51f68f04e243abe">  931</a></span>&#160;<span class="preprocessor">#define Z_MIN_POS 0</span></div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;</div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;<span class="comment">// ##                           Movement settings                                          ##</span></div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;</div><div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;<span class="comment">// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU. Currently only works for RAMBO boards</span></div><div class="line"><a name="l00938"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a11d69c4ef754c199cfce71eb79760cc3">  938</a></span>&#160;<span class="preprocessor">#define MICROSTEP_MODES {8,8,8,8,8} // [1,2,4,8,16]</span></div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;<span class="comment">// Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)</span></div><div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;<span class="comment">// Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)</span></div><div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;<span class="preprocessor">#if MOTHERBOARD==301</span></div><div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;<span class="comment">//#define MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)</span></div><div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;<span class="preprocessor">#define MOTOR_CURRENT_PERCENT {53,53,53,53,53}</span></div><div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;<span class="preprocessor">#elif MOTHERBOARD==12</span></div><div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;<span class="comment">//#define MOTOR_CURRENT {35713,35713,35713,35713,35713} // Values 0-65535 (3D Master 35713 = ~1A)</span></div><div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;<span class="preprocessor">#define MOTOR_CURRENT_PERCENT {55,55,55,55,55}</span></div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;</div><div class="line"><a name="l00952"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae439537f4f2cda93e2692fd863d6b31d">  952</a></span>&#160;<span class="preprocessor">#define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves</span></div><div class="line"><a name="l00953"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aad0deb0ebe3f073faca903657018830b">  953</a></span>&#160;<span class="preprocessor">#define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves</span></div><div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;</div><div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;<span class="comment">// Delta settings</span></div><div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;<span class="preprocessor">#if DRIVE_SYSTEM==DELTA</span></div><div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;</div><div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;<span class="preprocessor">#define DELTA_DIAGONAL_ROD 345 // mm</span></div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;</div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;<span class="comment">/*  =========== Parameter essential for delta calibration ===================</span></div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;<span class="comment">            C, Y-Axis</span></div><div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;<span class="comment">            |                        |___| CARRIAGE_HORIZONTAL_OFFSET (recommend set it to 0)</span></div><div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;<span class="comment">            |                        |   \------------------------------------------</span></div><div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;<span class="comment">            |_________ X-axis        |    \                                        |</span></div><div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;<span class="comment">           / \                       |     \  DELTA_DIAGONAL_ROD (length)    Each move this Rod Height</span></div><div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;<span class="comment">          /   \                             \                                 is calculated</span></div><div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;<span class="comment">         /     \                             \    Carriage is at printer center!   |</span></div><div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;<span class="comment">         A      B                             \_____/--------------------------------</span></div><div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;<span class="comment">                                              |--| END_EFFECTOR_HORIZONTAL_OFFSET (recommend set it to 0)</span></div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;<span class="comment">                                         |----| ROD_RADIUS (Horizontal rod pivot to pivot measure)</span></div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;<span class="comment">                                     |-----------| PRINTER_RADIUS (recommend set it to ROD_RADIUS)</span></div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;<span class="comment">    Column angles are measured from X-axis counterclockwise</span></div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;<span class="comment">    &quot;Standard&quot; positions: alpha_A = 210, alpha_B = 330, alpha_C = 90</span></div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;</div><div class="line"><a name="l00981"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abae63ed560babf45821c35f0c2b4d0ed">  981</a></span>&#160;<span class="preprocessor">#define DELTA_ALPHA_A 210</span></div><div class="line"><a name="l00982"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a877ae53bee93ebe4550cebda7a6e3666">  982</a></span>&#160;<span class="preprocessor">#define DELTA_ALPHA_B 330</span></div><div class="line"><a name="l00983"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0865a8ffc5ea6b998734e094f94a14c5">  983</a></span>&#160;<span class="preprocessor">#define DELTA_ALPHA_C 90</span></div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;</div><div class="line"><a name="l00986"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a40d35e645ae38166a94751974c538380">  986</a></span>&#160;<span class="preprocessor">#define DELTA_RADIUS_CORRECTION_A 0</span></div><div class="line"><a name="l00987"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab31a7d90a886be4a10e522f9735f14b0">  987</a></span>&#160;<span class="preprocessor">#define DELTA_RADIUS_CORRECTION_B 0</span></div><div class="line"><a name="l00988"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acaece734a4020a8f947f0b21fcbf815c">  988</a></span>&#160;<span class="preprocessor">#define DELTA_RADIUS_CORRECTION_C 0</span></div><div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;</div><div class="line"><a name="l00991"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abdc8b6aca177d1c61102beabce0ab6a4">  991</a></span>&#160;<span class="preprocessor">#define DELTA_DIAGONAL_CORRECTION_A 0</span></div><div class="line"><a name="l00992"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a18c3a91c860b3e0901184f26bb2a5047">  992</a></span>&#160;<span class="preprocessor">#define DELTA_DIAGONAL_CORRECTION_B 0</span></div><div class="line"><a name="l00993"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1b66e3f4059ab0c55781d739c31232c2">  993</a></span>&#160;<span class="preprocessor">#define DELTA_DIAGONAL_CORRECTION_C 0</span></div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;</div><div class="line"><a name="l00996"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aaef70c66efcbde055fc70bf820708b3a">  996</a></span>&#160;<span class="preprocessor">#define DELTA_MAX_RADIUS 200</span></div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;</div><div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;<span class="comment">// Margin (mm) to avoid above tower minimum (xMin xMinsteps)</span></div><div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;<span class="comment">// If your printer can put its carriage low enough the rod is horizontal without hitting the floor</span></div><div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;<span class="comment">// set this to zero. Otherwise, measure how high the carriage is from horizontal rod</span></div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;<span class="comment">// Also, movement speeds are 10x to 20x cartesian speeds at tower bottom.</span></div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;<span class="comment">// You may need to leave a few mm for safety.</span></div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;<span class="comment">// Hitting floor at high speed can damage your printer (motors, drives, etc)</span></div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;<span class="comment">// THIS MAY NEED UPDATING IF THE HOT END HEIGHT CHANGES!</span></div><div class="line"><a name="l01005"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8091e6eecc206ddb8e348feec47e56f9"> 1005</a></span>&#160;<span class="preprocessor">#define DELTA_FLOOR_SAFETY_MARGIN_MM 15</span></div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;</div><div class="line"><a name="l01009"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa3109fdffddc80692c1eeb2a9baa8aa5"> 1009</a></span>&#160;<span class="preprocessor">#define END_EFFECTOR_HORIZONTAL_OFFSET 0</span></div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;</div><div class="line"><a name="l01013"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aba7bbef7e78c26a2ac33b9daf8618ac7"> 1013</a></span>&#160;<span class="preprocessor">#define CARRIAGE_HORIZONTAL_OFFSET 0</span></div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;</div><div class="line"><a name="l01019"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aca3066ca734332bf22b5d0bf61cc9af5"> 1019</a></span>&#160;<span class="preprocessor">#define PRINTER_RADIUS 124</span></div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;</div><div class="line"><a name="l01023"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab5c63227c42bc88b3ebd16166dc6b889"> 1023</a></span>&#160;<span class="preprocessor">#define EXACT_DELTA_MOVES 1</span></div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;<span class="comment">/* ========== END Delta calibration data ==============*/</span></div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;</div><div class="line"><a name="l01030"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa15808551a21a6721ea0d4f5020c053f"> 1030</a></span>&#160;<span class="preprocessor">#define DELTA_HOME_ON_POWER 0</span></div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;</div><div class="line"><a name="l01034"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aece55b75e0faea0ad2379e5c29c5daa6"> 1034</a></span>&#160;<span class="preprocessor">#define DELTA_X_ENDSTOP_OFFSET_STEPS 0</span></div><div class="line"><a name="l01035"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac3f3b5141d66a88d317cb8ced2104a50"> 1035</a></span>&#160;<span class="preprocessor">#define DELTA_Y_ENDSTOP_OFFSET_STEPS 0</span></div><div class="line"><a name="l01036"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8641adc2344c4993cb37df1554020bf9"> 1036</a></span>&#160;<span class="preprocessor">#define DELTA_Z_ENDSTOP_OFFSET_STEPS 0</span></div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;</div><div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;<span class="preprocessor">#if DRIVE_SYSTEM==TUGA</span></div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;<span class="comment">// ========== Tuga special settings =============</span></div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;<span class="comment">/* Radius of the long arm in mm. */</span></div><div class="line"><a name="l01042"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3e976857c423b801ff1b677ece280084"> 1042</a></span>&#160;<span class="preprocessor">#define DELTA_DIAGONAL_ROD 240</span></div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;</div><div class="line"><a name="l01054"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8979aa57ea96820a5702cc920ad7d836"> 1054</a></span>&#160;<span class="preprocessor">#define DELTASEGMENTS_PER_PRINTLINE 22</span></div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;</div><div class="line"><a name="l01061"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1ce1327259c993fa88540e00c8dd09b5"> 1061</a></span>&#160;<span class="preprocessor">#define STEPPER_INACTIVE_TIME 360</span></div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;</div><div class="line"><a name="l01068"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a93a47e8d3e037750926e3fbef221b909"> 1068</a></span>&#160;<span class="preprocessor">#define MAX_INACTIVE_TIME 0L</span></div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;</div><div class="line"><a name="l01073"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aee3020ebe35be1c65e0746d4415d3b4d"> 1073</a></span>&#160;<span class="preprocessor">#define MAX_FEEDRATE_X 200</span></div><div class="line"><a name="l01074"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af2a48135c571a906b7dd95b9abc596d8"> 1074</a></span>&#160;<span class="preprocessor">#define MAX_FEEDRATE_Y 200</span></div><div class="line"><a name="l01075"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a144a0c5e25b1f7ba0d0470ee206e83b7"> 1075</a></span>&#160;<span class="preprocessor">#define MAX_FEEDRATE_Z 5</span></div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;</div><div class="line"><a name="l01078"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab424984839ed2d92d6198ffa13b4bae0"> 1078</a></span>&#160;<span class="preprocessor">#define HOMING_FEEDRATE_X 80</span></div><div class="line"><a name="l01079"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa98185c6185491e3a569ea20b477ee05"> 1079</a></span>&#160;<span class="preprocessor">#define HOMING_FEEDRATE_Y 80</span></div><div class="line"><a name="l01080"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa55a91a026d53ee6f8ff737e4a5ded3f"> 1080</a></span>&#160;<span class="preprocessor">#define HOMING_FEEDRATE_Z 3</span></div><div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;</div><div class="line"><a name="l01088"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa485fd6b42c23f8e7ebd58052064bcef"> 1088</a></span>&#160;<span class="preprocessor">#define HOMING_ORDER HOME_ORDER_ZXY</span></div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;<span class="comment">// Used for homing order HOME_ORDER_ZXYTZ</span></div><div class="line"><a name="l01090"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1530f79d96f0be47fd2ecdbfbb212a12"> 1090</a></span>&#160;<span class="preprocessor">#define ZHOME_MIN_TEMPERATURE 0</span></div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;<span class="comment">// needs to heat all extruders (1) or only current extruder (0)</span></div><div class="line"><a name="l01092"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3d6637ca74d5989899f545c19a303fbf"> 1092</a></span>&#160;<span class="preprocessor">#define ZHOME_HEAT_ALL 1 </span></div><div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;<span class="comment">// Z-height for heating extruder during homing</span></div><div class="line"><a name="l01094"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad7c34a98e8876f738ad956dbcfdda39b"> 1094</a></span>&#160;<span class="preprocessor">#define ZHOME_HEAT_HEIGHT 20</span></div><div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;<span class="comment">// If your bed might bend while probing, because your sensor is the extruder tip</span></div><div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;<span class="comment">// you can define a predefined x,y position so beding is always the same and</span></div><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;<span class="comment">// can be compensated. Set coordinate to 999999 to ignore positions and just</span></div><div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;<span class="comment">// use the position you are at.</span></div><div class="line"><a name="l01099"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6f90a03419d5d6a9570f0fbaa7e28004"> 1099</a></span>&#160;<span class="preprocessor">#define ZHOME_X_POS IGNORE_COORDINATE</span></div><div class="line"><a name="l01100"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afaa2b6e42b1f5743ae3f6862c1ee5c84"> 1100</a></span>&#160;<span class="preprocessor">#define ZHOME_Y_POS IGNORE_COORDINATE</span></div><div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;</div><div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;<span class="comment">/* If you have a backlash in both z-directions, you can use this. For most printer, the bed will be pushed down by it&#39;s</span></div><div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;<span class="comment">own weight, so this is nearly never needed. */</span></div><div class="line"><a name="l01104"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a394b1f7b405c2f11fd85ef4d61f63ea4"> 1104</a></span>&#160;<span class="preprocessor">#define ENABLE_BACKLASH_COMPENSATION 0</span></div><div class="line"><a name="l01105"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af4cc97e37ea3fdff7716c8fc7d5cde52"> 1105</a></span>&#160;<span class="preprocessor">#define Z_BACKLASH 0</span></div><div class="line"><a name="l01106"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac9f9a075d786ff200686b488d90f65dc"> 1106</a></span>&#160;<span class="preprocessor">#define X_BACKLASH 0</span></div><div class="line"><a name="l01107"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af4042864409df7c10e344b2173405ca0"> 1107</a></span>&#160;<span class="preprocessor">#define Y_BACKLASH 0</span></div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;</div><div class="line"><a name="l01110"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aab3784ed69df9d091236d23f3224b896"> 1110</a></span>&#160;<span class="preprocessor">#define RAMP_ACCELERATION 1</span></div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;</div><div class="line"><a name="l01117"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aaa88e47f41a7a1924d9c0fc0aeff0a49"> 1117</a></span>&#160;<span class="preprocessor">#define STEPPER_HIGH_DELAY 0</span></div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;</div><div class="line"><a name="l01124"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7aa1713bf11bc8fc560d2e269fb545eb"> 1124</a></span>&#160;<span class="preprocessor">#define DIRECTION_DELAY 0</span></div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;</div><div class="line"><a name="l01131"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0571dfea8f7cc9fe22a0a2f21aee53bf"> 1131</a></span>&#160;<span class="preprocessor">#define STEP_DOUBLER_FREQUENCY 12000</span></div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;</div><div class="line"><a name="l01135"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a059648ee75c819ab6a24fefa5e5b80db"> 1135</a></span>&#160;<span class="preprocessor">#define ALLOW_QUADSTEPPING 1</span></div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;</div><div class="line"><a name="l01140"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9090680575209de08aedc561e2674a49"> 1140</a></span>&#160;<span class="preprocessor">#define DOUBLE_STEP_DELAY 0 // time in microseconds</span></div><div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;</div><div class="line"><a name="l01146"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae8069406cfdee5772876890b8b839b1b"> 1146</a></span>&#160;<span class="preprocessor">#define KEEP_ALIVE_INTERVAL 2000</span></div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;</div><div class="line"><a name="l01152"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a127ae1803649ab6dbbb91ba0e7eba7d6"> 1152</a></span>&#160;<span class="preprocessor">#define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000</span></div><div class="line"><a name="l01153"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7f28f8bb53e694fd4a7db80844d81f33"> 1153</a></span>&#160;<span class="preprocessor">#define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000</span></div><div class="line"><a name="l01154"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5e728f0a23023215ba47b49aae3a7218"> 1154</a></span>&#160;<span class="preprocessor">#define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100</span></div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;</div><div class="line"><a name="l01157"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa78c11eeb7c076f0e7dac287184a741d"> 1157</a></span>&#160;<span class="preprocessor">#define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 2000</span></div><div class="line"><a name="l01158"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a47ddae0f8fbdc2d2250556eef0333742"> 1158</a></span>&#160;<span class="preprocessor">#define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 2000</span></div><div class="line"><a name="l01159"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0416305f981031fbc78ae9596851cc13"> 1159</a></span>&#160;<span class="preprocessor">#define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100</span></div><div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;</div><div class="line"><a name="l01171"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a50167e089687c0a48452cb02e6fe2b39"> 1171</a></span>&#160;<span class="preprocessor">#define INTERPOLATE_ACCELERATION_WITH_Z 0</span></div><div class="line"><a name="l01172"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa831fbc65e7e69d15f205d3a42ce24ff"> 1172</a></span>&#160;<span class="preprocessor">#define ACCELERATION_FACTOR_TOP 100</span></div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;</div><div class="line"><a name="l01197"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aef98e140e44898a5ff54c4055621fb43"> 1197</a></span>&#160;<span class="preprocessor">#define MAX_JERK 20.0</span></div><div class="line"><a name="l01198"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af18b6a824db710a65cf10716dafca4f1"> 1198</a></span>&#160;<span class="preprocessor">#define MAX_ZJERK 0.3</span></div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;</div><div class="line"><a name="l01205"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2fdd2fcb5062d8ba6c2a42a51817571e"> 1205</a></span>&#160;<span class="preprocessor">#define PRINTLINE_CACHE_SIZE 16</span></div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;</div><div class="line"><a name="l01213"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a82e4ee9e8ab6ba09ccb95dc8a96559df"> 1213</a></span>&#160;<span class="preprocessor">#define MOVE_CACHE_LOW 10</span></div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;</div><div class="line"><a name="l01219"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac8f65c88887ef2ebeb66cf93822a469c"> 1219</a></span>&#160;<span class="preprocessor">#define LOW_TICKS_PER_MOVE 250000</span></div><div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;</div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;<span class="comment">// ##                           Extruder control                                           ##</span></div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;</div><div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;</div><div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;<span class="comment">/* \brief Minimum temperature for extruder operation</span></div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;<span class="comment">This is a safety value. If your extruder temperature is below this temperature, no</span></div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;<span class="comment">extruder steps are executed. This is to prevent your extruder to move unless the filament</span></div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;<span class="comment">is at least molten. After having some complains that the extruder does not work, I leave</span></div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;<span class="comment">it 0 as default.</span></div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;</div><div class="line"><a name="l01234"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2b508e94835493e76669002cf2a3c41d"> 1234</a></span>&#160;<span class="preprocessor">#define MIN_EXTRUDER_TEMP 160</span></div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;</div><div class="line"><a name="l01242"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3e38843cf1b7d9902feaf622292096c0"> 1242</a></span>&#160;<span class="preprocessor">#define USE_ADVANCE 1</span></div><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;</div><div class="line"><a name="l01248"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1c9f7a0d3a9728b9c51d4d5f6658776d"> 1248</a></span>&#160;<span class="preprocessor">#define ENABLE_QUADRATIC_ADVANCE 0</span></div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;</div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;<span class="comment">// ##                           Communication configuration                                ##</span></div><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;</div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;</div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;<span class="comment">//#define BAUDRATE 76800</span></div><div class="line"><a name="l01268"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a734bbab06e1a9fd2e5522db0221ff6e3"> 1268</a></span>&#160;<span class="preprocessor">#define BAUDRATE 115200</span></div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;<span class="comment">//#define BAUDRATE 250000</span></div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;</div><div class="line"><a name="l01275"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af07421374338f565a90366aa8d32fbfc"> 1275</a></span>&#160;<span class="preprocessor">#define ENABLE_POWER_ON_STARTUP 1</span></div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;</div><div class="line"><a name="l01281"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3ae7b30e813f71eb4588c68765e4fc22"> 1281</a></span>&#160;<span class="preprocessor">#define POWER_INVERTING 0</span></div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;</div><div class="line"><a name="l01286"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a59e9281d5075865df9950ef4bbc3e8b2"> 1286</a></span>&#160;<span class="preprocessor">#define KILL_METHOD 1</span></div><div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;</div><div class="line"><a name="l01289"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac047bf179fdf448c1b3616e2597d8a20"> 1289</a></span>&#160;<span class="preprocessor">#define ACK_WITH_LINENUMBER 1</span></div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;</div><div class="line"><a name="l01293"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a74f1dce7f5b438fc0b54cc94707e91d2"> 1293</a></span>&#160;<span class="preprocessor">#define WAITING_IDENTIFIER &quot;wait&quot;</span></div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;</div><div class="line"><a name="l01304"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac367c9a6d11165da67e68db5ef270307"> 1304</a></span>&#160;<span class="preprocessor">#define ECHO_ON_EXECUTE 1</span></div><div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;</div><div class="line"><a name="l01317"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a39741ee55d77198f9c1f4e47f0a5d478"> 1317</a></span>&#160;<span class="preprocessor">#define EEPROM_MODE 2</span></div><div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;</div><div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>&#160;</div><div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;<span class="comment">/**************** duplicate motor driver ***************</span></div><div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;<span class="comment">If you have unused extruder steppers free, you could use it to drive the second or third z motor</span></div><div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;<span class="comment">instead of driving them with a single stepper. The same works for the other axis if needed.</span></div><div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;</div><div class="line"><a name="l01326"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad1d58b33b7dc60e375025a977da07b8f"> 1326</a></span>&#160;<span class="preprocessor">#define FEATURE_TWO_XSTEPPER 0</span></div><div class="line"><a name="l01327"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3c065952d4985697e1b1095e8236a0b9"> 1327</a></span>&#160;<span class="preprocessor">#define X2_STEP_PIN   E1_STEP_PIN</span></div><div class="line"><a name="l01328"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9aaa449ed510720ddbcdccbe76651226"> 1328</a></span>&#160;<span class="preprocessor">#define X2_DIR_PIN    E1_DIR_PIN</span></div><div class="line"><a name="l01329"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad293afc97a434a46e73cdffde9085c69"> 1329</a></span>&#160;<span class="preprocessor">#define X2_ENABLE_PIN E1_ENABLE_PIN</span></div><div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;</div><div class="line"><a name="l01331"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa6597496797acec9d9cddd4d2031b42c"> 1331</a></span>&#160;<span class="preprocessor">#define FEATURE_TWO_YSTEPPER 0</span></div><div class="line"><a name="l01332"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa0057d47f91277e928db606389336d78"> 1332</a></span>&#160;<span class="preprocessor">#define Y2_STEP_PIN   E1_STEP_PIN</span></div><div class="line"><a name="l01333"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a966bcbb595b01ea1f47b44ee54561f17"> 1333</a></span>&#160;<span class="preprocessor">#define Y2_DIR_PIN    E1_DIR_PIN</span></div><div class="line"><a name="l01334"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a24a774ef39e666b4cfc4e2507876adde"> 1334</a></span>&#160;<span class="preprocessor">#define Y2_ENABLE_PIN E1_ENABLE_PIN</span></div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;</div><div class="line"><a name="l01336"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3d0f91410a9fbb97c585d757ed6f07fa"> 1336</a></span>&#160;<span class="preprocessor">#define FEATURE_TWO_ZSTEPPER 0</span></div><div class="line"><a name="l01337"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a74542a04437600f9bf1ac6f3dd5e8c0d"> 1337</a></span>&#160;<span class="preprocessor">#define Z2_STEP_PIN   E1_STEP_PIN</span></div><div class="line"><a name="l01338"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a178ffc50f37d780f6c7e2f41065259b3"> 1338</a></span>&#160;<span class="preprocessor">#define Z2_DIR_PIN    E1_DIR_PIN</span></div><div class="line"><a name="l01339"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa307cf262f6a195b77107a7ba0a47eb3"> 1339</a></span>&#160;<span class="preprocessor">#define Z2_ENABLE_PIN E1_ENABLE_PIN</span></div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;</div><div class="line"><a name="l01341"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a013530ef48811b9b23a03c2d268779cb"> 1341</a></span>&#160;<span class="preprocessor">#define FEATURE_THREE_ZSTEPPER 0</span></div><div class="line"><a name="l01342"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8cbc0c23bd01dfb6ee6c2a09f6e4ca5e"> 1342</a></span>&#160;<span class="preprocessor">#define Z3_STEP_PIN   E2_STEP_PIN</span></div><div class="line"><a name="l01343"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a15f73985b79314a8e9277f41c6f1f832"> 1343</a></span>&#160;<span class="preprocessor">#define Z3_DIR_PIN    E2_DIR_PIN</span></div><div class="line"><a name="l01344"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a30368cbe20b8df2ea4e91e6bdd55b026"> 1344</a></span>&#160;<span class="preprocessor">#define Z3_ENABLE_PIN E2_ENABLE_PIN</span></div><div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;</div><div class="line"><a name="l01346"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8200748d02a16e0a5293633ca186b7e9"> 1346</a></span>&#160;<span class="preprocessor">#define FEATURE_FOUR_ZSTEPPER 0</span></div><div class="line"><a name="l01347"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adac99d108f74ef117f2c6c3721257dbd"> 1347</a></span>&#160;<span class="preprocessor">#define Z4_STEP_PIN   E2_STEP_PIN</span></div><div class="line"><a name="l01348"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aee6ca7d0f6de616c4310cbed747ceb6b"> 1348</a></span>&#160;<span class="preprocessor">#define Z4_DIR_PIN    E2_DIR_PIN</span></div><div class="line"><a name="l01349"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab8a5e182c97693ab189f02c4a2264d4e"> 1349</a></span>&#160;<span class="preprocessor">#define Z4_ENABLE_PIN E2_ENABLE_PIN</span></div><div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;</div><div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160;<span class="comment">/* Ditto printing allows 2 extruders to do the same action. This effectively allows</span></div><div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;<span class="comment">to print an object two times at the speed of one. Works only with dual extruder setup.</span></div><div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01354"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a11f4f87ec2e4f99e782450147447c30e"> 1354</a></span>&#160;<span class="preprocessor">#define FEATURE_DITTO_PRINTING 0</span></div><div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;</div><div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;<span class="comment">/* Servos</span></div><div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;<span class="comment">If you need to control servos, enable this feature. You can control up to 4 servos.</span></div><div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;<span class="comment">Control the servos with</span></div><div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;<span class="comment">M340 P&lt;servoId&gt; S&lt;pulseInUS&gt;</span></div><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;<span class="comment">servoID = 0..3</span></div><div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;<span class="comment">Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.</span></div><div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;<span class="comment">WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!</span></div><div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;</div><div class="line"><a name="l01367"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3841264ce2c14e4f014973a8f74bc787"> 1367</a></span>&#160;<span class="preprocessor">#define FEATURE_SERVO 0</span></div><div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;<span class="comment">// Servo pins on a RAMPS board are 11,6,5,4</span></div><div class="line"><a name="l01369"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1fdd264637580640d89fbffa822a45ae"> 1369</a></span>&#160;<span class="preprocessor">#define SERVO0_PIN 11</span></div><div class="line"><a name="l01370"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acc407398818b8e8fe8a1e314f762db21"> 1370</a></span>&#160;<span class="preprocessor">#define SERVO1_PIN 6</span></div><div class="line"><a name="l01371"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0e45aba502d52eac8d6261055e5ecb74"> 1371</a></span>&#160;<span class="preprocessor">#define SERVO2_PIN 5</span></div><div class="line"><a name="l01372"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae10111ce2dd1b9a78f3eaeeda632d4e0"> 1372</a></span>&#160;<span class="preprocessor">#define SERVO3_PIN 4</span></div><div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;<span class="comment">/* for set servo(s) at designed neutral position at power-up. Values &lt; 500 mean no start position */</span></div><div class="line"><a name="l01374"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a51e65dc44a54c1ee2b6673a69e4c398e"> 1374</a></span>&#160;<span class="preprocessor">#define SERVO0_NEUTRAL_POS  -1</span></div><div class="line"><a name="l01375"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac7af4eccf4ce9de3dd64f075f844f868"> 1375</a></span>&#160;<span class="preprocessor">#define SERVO1_NEUTRAL_POS  -1</span></div><div class="line"><a name="l01376"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a043c82c7229e0c4bba0cc60e49ea5ca3"> 1376</a></span>&#160;<span class="preprocessor">#define SERVO2_NEUTRAL_POS  -1</span></div><div class="line"><a name="l01377"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8d3db7b4636d74584f863ffa793d0dd1"> 1377</a></span>&#160;<span class="preprocessor">#define SERVO3_NEUTRAL_POS  -1</span></div><div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;</div><div class="line"><a name="l01379"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae201c910af5acd74e354abd139bd1762"> 1379</a></span>&#160;<span class="preprocessor">#define UI_SERVO_CONTROL 0</span></div><div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160;</div><div class="line"><a name="l01383"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a5343ea8a4416fadaae08ec3995c05c41"> 1383</a></span>&#160;<span class="preprocessor">#define FAN_KICKSTART_TIME  200</span></div><div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;</div><div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;<span class="comment">/* A watchdog resets the printer, if a signal is not send within predefined time limits. That way we can be sure that the board</span></div><div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;<span class="comment">is always running and is not hung up for some unknown reason. */</span></div><div class="line"><a name="l01387"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0cee34610df91d33da8529bb4d4cc0e4"> 1387</a></span>&#160;<span class="preprocessor">#define FEATURE_WATCHDOG 1</span></div><div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160;</div><div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;<span class="comment">/* Z-Probing */</span></div><div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;</div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;<span class="comment">/* After homing the z position is corrected to compensate</span></div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;<span class="comment">for a bed coating. Since you can change coatings the value is stored in</span></div><div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;<span class="comment">EEPROM if enabled, so you can switch between different coatings without needing</span></div><div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>&#160;<span class="comment">to recalibrate z.</span></div><div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01396"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4e7b14f8ca5b54028232d63f9024e9ea"> 1396</a></span>&#160;<span class="preprocessor">#define Z_PROBE_Z_OFFSET 0 // offset to coating form real bed level</span></div><div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;<span class="comment">/* How is z min measured</span></div><div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;<span class="comment"> 0 = trigger is height of real bed neglecting coating</span></div><div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;<span class="comment"> 1 = trigger is current coating</span></div><div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160;<span class="comment"> </span></div><div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;<span class="comment"> For mode 1 the current coating thickness is added to measured z probe distances.</span></div><div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;<span class="comment"> That way the real bed is always the reference height. For inductive sensors</span></div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;<span class="comment"> or z min endstops the coating has no effect on the result, so you should use mode 0.</span></div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01405"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abc35196894fb6f66a6311d6e06a0d7b4"> 1405</a></span>&#160;<span class="preprocessor">#define Z_PROBE_Z_OFFSET_MODE 0</span></div><div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;</div><div class="line"><a name="l01407"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2e6c84d7684b29d0c5a29e48378c2ea3"> 1407</a></span>&#160;<span class="preprocessor">#define FEATURE_Z_PROBE 1</span></div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;<span class="comment">// Especially if you have more then 1 extruder acting as z probe this is important!</span></div><div class="line"><a name="l01409"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a70761295a9f4454b48354d48c8bda043"> 1409</a></span>&#160;<span class="preprocessor">#define EXTRUDER_IS_Z_PROBE 0</span></div><div class="line"><a name="l01410"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0c7b058babb5f320295349b4b009a8ea"> 1410</a></span>&#160;<span class="preprocessor">#define Z_PROBE_PIN 63</span></div><div class="line"><a name="l01411"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3a54079a45359832d7f3fd96c8219e5d"> 1411</a></span>&#160;<span class="preprocessor">#define Z_PROBE_PULLUP 1</span></div><div class="line"><a name="l01412"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a56930ee08e30adf2b4366812bd1334ae"> 1412</a></span>&#160;<span class="preprocessor">#define Z_PROBE_ON_HIGH 1</span></div><div class="line"><a name="l01413"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a03e229c3ee72dc7f7ce49577cf97d086"> 1413</a></span>&#160;<span class="preprocessor">#define Z_PROBE_X_OFFSET 0</span></div><div class="line"><a name="l01414"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aab5d69ddf958e1bb838fd16f8686fb2f"> 1414</a></span>&#160;<span class="preprocessor">#define Z_PROBE_Y_OFFSET 0</span></div><div class="line"><a name="l01415"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a416ab162df99c2488fa6d23e1382a845"> 1415</a></span>&#160;<span class="preprocessor">#define Z_PROBE_BED_DISTANCE 5.0 // Higher than max bed level distance error in mm</span></div><div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;</div><div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;<span class="comment">// Waits for a signal to start. Valid signals are probe hit and ok button.</span></div><div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;<span class="comment">// This is needful if you have the probe trigger by hand.</span></div><div class="line"><a name="l01419"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6f7822296d50c200957b8a74f6699738"> 1419</a></span>&#160;<span class="preprocessor">#define Z_PROBE_WAIT_BEFORE_TEST 0</span></div><div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160;</div><div class="line"><a name="l01421"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a707d7dccb6663f9ee7756482ef446203"> 1421</a></span>&#160;<span class="preprocessor">#define Z_PROBE_SPEED 2</span></div><div class="line"><a name="l01422"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad438255c65db5e54c90e89780d9e6196"> 1422</a></span>&#160;<span class="preprocessor">#define Z_PROBE_XY_SPEED 150</span></div><div class="line"><a name="l01423"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa0dc81e6cd781e70263cb1f1c347195d"> 1423</a></span>&#160;<span class="preprocessor">#define Z_PROBE_SWITCHING_DISTANCE 1.5 // Distance to safely switch off probe after it was activated</span></div><div class="line"><a name="l01424"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8e1a38948e5e935cb94ac02ed7c98cc2"> 1424</a></span>&#160;<span class="preprocessor">#define Z_PROBE_REPETITIONS 5 // Repetitions for probing at one point.</span></div><div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;</div><div class="line"><a name="l01426"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a43d204b928407664cb5512a722424db7"> 1426</a></span>&#160;<span class="preprocessor">#define Z_PROBE_HEIGHT 39.91</span></div><div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;</div><div class="line"><a name="l01428"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a180407f97284ec0bb4befbcbd523b3f9"> 1428</a></span>&#160;<span class="preprocessor">#define Z_PROBE_START_SCRIPT &quot;&quot;</span></div><div class="line"><a name="l01429"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a39be7d391509b0162ec8e5f402cb6587"> 1429</a></span>&#160;<span class="preprocessor">#define Z_PROBE_FINISHED_SCRIPT &quot;&quot;</span></div><div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160;</div><div class="line"><a name="l01431"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a073a17fa893069fc6bd0d05c9b5fa16b"> 1431</a></span>&#160;<span class="preprocessor">#define Z_PROBE_REQUIRES_HEATING 0</span></div><div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;</div><div class="line"><a name="l01433"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac93f094e08cfe2a6c1d8e705693a4adb"> 1433</a></span>&#160;<span class="preprocessor">#define Z_PROBE_MIN_TEMPERATURE 150</span></div><div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;</div><div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160;<span class="comment">Define how we measure the bed rotation. </span></div><div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;<span class="comment">All methods need at least 3 points to define the bed rotation correctly. The quality we get comes</span></div><div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160;<span class="comment">from the selection of the right points and method.</span></div><div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;<span class="comment">BED_LEVELING_METHOD 0</span></div><div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;<span class="comment">This method measures at the 3 probe points and creates a plane through these points. If you have</span></div><div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;<span class="comment">a really planar bed this gives the optimum result. The 3 points must not be in one line and have</span></div><div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;<span class="comment">a long distance to increase numerical stability.</span></div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;<span class="comment">BED_LEVELING_METHOD 1</span></div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;<span class="comment">This measures a grid. Probe point 1 is the origin and points 2 and 3 span a grid. We measure</span></div><div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;<span class="comment">BED_LEVELING_GRID_SIZE points in each direction and compute a regression plane through all</span></div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;<span class="comment">points. This gives a good overall plane if you have small bumps measuring inaccuracies.</span></div><div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;<span class="comment">BED_LEVELING_METHOD 2</span></div><div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;<span class="comment">Bending correcting 4 point measurement. This is for cantilevered beds that have the rotation axis</span></div><div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160;<span class="comment">not at the side but inside the bed. Here we can assume no bending on the axis and a symmetric</span></div><div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;<span class="comment">bending to both sides of the axis. So probe points 2 and 3 build the symmetric axis and</span></div><div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>&#160;<span class="comment">point 1 is mirrored to 1m across the axis. Using the symmetry we then remove the bending</span></div><div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;<span class="comment">from 1 and use that as plane.</span></div><div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01457"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8ec640cf66fb904041cd803c70747c8b"> 1457</a></span>&#160;<span class="preprocessor">#define BED_LEVELING_METHOD 0</span></div><div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160;<span class="comment">/* How to correct rotation.</span></div><div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;<span class="comment">0 = software side</span></div><div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>&#160;<span class="comment">1 = motorized modification of 2 from 3 fixture points.</span></div><div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01462"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a712d934e7156c8d0e7f153cd111348d1"> 1462</a></span>&#160;<span class="preprocessor">#define BED_CORRECTION_METHOD 0</span></div><div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;<span class="comment">// Grid size for grid based plane measurement</span></div><div class="line"><a name="l01464"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac3f5e4d86bc5273b6f4ca438dae27b64"> 1464</a></span>&#160;<span class="preprocessor">#define BED_LEVELING_GRID_SIZE 4</span></div><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;<span class="comment">// Repetitions for motorized bed leveling</span></div><div class="line"><a name="l01466"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac3e3c825d36786b4e6e56cf90e52e7d3"> 1466</a></span>&#160;<span class="preprocessor">#define BED_LEVELING_REPETITIONS 5</span></div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;<span class="comment">/* These are the motor positions relative to bed origin. Only needed for</span></div><div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;<span class="comment">motorized bed leveling */</span></div><div class="line"><a name="l01469"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a86a4887fb18554d83a4f0e07ac98f14e"> 1469</a></span>&#160;<span class="preprocessor">#define BED_MOTOR_1_X 0</span></div><div class="line"><a name="l01470"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acfb8121863d5334f6c4c76a5f495c30c"> 1470</a></span>&#160;<span class="preprocessor">#define BED_MOTOR_1_Y 0</span></div><div class="line"><a name="l01471"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ada22c8340320f4dd01e60c3008fa4626"> 1471</a></span>&#160;<span class="preprocessor">#define BED_MOTOR_2_X 200</span></div><div class="line"><a name="l01472"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa0f4486398ec02dccc3bdaff97b640df"> 1472</a></span>&#160;<span class="preprocessor">#define BED_MOTOR_2_Y 0</span></div><div class="line"><a name="l01473"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a84f21815619dba1873f525e08ce7c296"> 1473</a></span>&#160;<span class="preprocessor">#define BED_MOTOR_3_X 100</span></div><div class="line"><a name="l01474"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a93cff20497782be661a8df9d1f1931ef"> 1474</a></span>&#160;<span class="preprocessor">#define BED_MOTOR_3_Y 200</span></div><div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;</div><div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;<span class="comment">/* Autoleveling allows it to z-probe 3 points to compute the inclination and compensates the error for the print.</span></div><div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;<span class="comment">   This feature requires a working z-probe and you should have z-endstop at the top not at the bottom.</span></div><div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160;<span class="comment">   The same 3 points are used for the G29 command.</span></div><div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01480"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa35e4f087e44e8572e3401e2c69491ff"> 1480</a></span>&#160;<span class="preprocessor">#define FEATURE_AUTOLEVEL 0</span></div><div class="line"><a name="l01481"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a234370629ef9bbd300f8c4b696d51067"> 1481</a></span>&#160;<span class="preprocessor">#define Z_PROBE_X1 100</span></div><div class="line"><a name="l01482"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a281c2c72b1ec819b64e5e13b82657d1d"> 1482</a></span>&#160;<span class="preprocessor">#define Z_PROBE_Y1 20</span></div><div class="line"><a name="l01483"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1e46da249ea8408c8c17235803d7159f"> 1483</a></span>&#160;<span class="preprocessor">#define Z_PROBE_X2 160</span></div><div class="line"><a name="l01484"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2729cc174476584409552a1feaf61e31"> 1484</a></span>&#160;<span class="preprocessor">#define Z_PROBE_Y2 170</span></div><div class="line"><a name="l01485"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afd4deed5ad688aa5cb407423d3871d4d"> 1485</a></span>&#160;<span class="preprocessor">#define Z_PROBE_X3 20</span></div><div class="line"><a name="l01486"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa63f6e9f9d1f981e72a5a73515f5185e"> 1486</a></span>&#160;<span class="preprocessor">#define Z_PROBE_Y3 170</span></div><div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>&#160;<span class="comment">/* Bending correction adds a value to a measured z-probe value. This may be</span></div><div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;<span class="comment">  required when the z probe needs some force to trigger and this bends the</span></div><div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;<span class="comment">  bed down. Currently the correction values A/B/C correspond to z probe</span></div><div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;<span class="comment">  positions 1/2/3. In later versions a bending correction algorithm might be</span></div><div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160;<span class="comment">  introduced to give it other meanings.*/</span></div><div class="line"><a name="l01492"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aeeae3b1705d79dce766dae7e757a31fa"> 1492</a></span>&#160;<span class="preprocessor">#define BENDING_CORRECTION_A 0</span></div><div class="line"><a name="l01493"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7b8a3373ca6f687e4842d8b00e822109"> 1493</a></span>&#160;<span class="preprocessor">#define BENDING_CORRECTION_B 0</span></div><div class="line"><a name="l01494"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adc7e6e1bee0d7cb17ba036b00a0dc69a"> 1494</a></span>&#160;<span class="preprocessor">#define BENDING_CORRECTION_C 0</span></div><div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;</div><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;<span class="comment">/* DISTORTION_CORRECTION compensates the distortion caused by mechanical imprecisions of nonlinear (i.e. DELTA) printers</span></div><div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;<span class="comment"> * assumes that the floor is plain (i.e. glass plate)</span></div><div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;<span class="comment"> *     and that it is perpendicular to the towers</span></div><div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;<span class="comment"> *     and that the (0,0) is in center</span></div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;<span class="comment"> * requires z-probe</span></div><div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;<span class="comment"> * G29 measures the Z offset in matrix NxN points (due to nature of the delta printer, the corners are extrapolated instead of measured)</span></div><div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160;<span class="comment"> * and compensate the distortion</span></div><div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;<span class="comment"> * more points means better compensation, but consumes more memory and takes more time</span></div><div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160;<span class="comment"> * DISTORTION_CORRECTION_R is the distance of last row or column from center</span></div><div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160;</div><div class="line"><a name="l01507"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a94115507b3cd80b95abb9aa49e5d3719"> 1507</a></span>&#160;<span class="preprocessor">#define DISTORTION_CORRECTION         1</span></div><div class="line"><a name="l01508"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3b410b06c230ad228fb064e56af87b85"> 1508</a></span>&#160;<span class="preprocessor">#define DISTORTION_CORRECTION_POINTS  5</span></div><div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;<span class="comment">/* For delta printers you simply define the measured radius around origin */</span></div><div class="line"><a name="l01510"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2f175fc740368a904429df550bebee37"> 1510</a></span>&#160;<span class="preprocessor">#define DISTORTION_CORRECTION_R       80</span></div><div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;<span class="comment">/* For all others you define the correction rectangle by setting the min/max coordinates. Make sure the the probe can reach all points! */</span></div><div class="line"><a name="l01512"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9b323d144a62511c866e2be8a1c56b37"> 1512</a></span>&#160;<span class="preprocessor">#define DISTORTION_XMIN 10</span></div><div class="line"><a name="l01513"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a87d3d9f0d1fd975c9147a310db73a2a3"> 1513</a></span>&#160;<span class="preprocessor">#define DISTORTION_YMIN 10</span></div><div class="line"><a name="l01514"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aca0b5d21e7788135540acd05f3fd4b75"> 1514</a></span>&#160;<span class="preprocessor">#define DISTORTION_XMAX 190</span></div><div class="line"><a name="l01515"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8cb15a3b6f6f8a26e7f1ec89991c79d4"> 1515</a></span>&#160;<span class="preprocessor">#define DISTORTION_YMAX 190</span></div><div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;</div><div class="line"><a name="l01521"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a480c3a8fd2fa171a3c5112b9b5553dee"> 1521</a></span>&#160;<span class="preprocessor">#define DISTORTION_PERMANENT          1</span></div><div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160;</div><div class="line"><a name="l01531"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afb65eca2ef04348936139a2f10898870"> 1531</a></span>&#160;<span class="preprocessor">#define DISTORTION_UPDATE_FREQUENCY   15</span></div><div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>&#160;</div><div class="line"><a name="l01534"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abf41bdb89bc8087b92e523d521e3bab5"> 1534</a></span>&#160;<span class="preprocessor">#define DISTORTION_START_DEGRADE 0.5</span></div><div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;</div><div class="line"><a name="l01536"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0b249b32de17791ca33a314ea98d7f2b"> 1536</a></span>&#160;<span class="preprocessor">#define DISTORTION_END_HEIGHT 1.5</span></div><div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160;</div><div class="line"><a name="l01539"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af7ae957830128af3b64345d82669ed0f"> 1539</a></span>&#160;<span class="preprocessor">#define DISTORTION_EXTRAPOLATE_CORNERS 0</span></div><div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;</div><div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;<span class="comment">/* If your printer is not exactly square but is more like a parallelogram, you can</span></div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;<span class="comment">use this to compensate the effect of printing squares like parallelograms. Set the</span></div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;<span class="comment">parameter to then tangens of the deviation from 90° when you print a square object.</span></div><div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;<span class="comment">E.g. if you angle is 91° enter tan(1) = 0.017. If error doubles you have the wrong sign.</span></div><div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;<span class="comment">Always hard to say since the other angle is 89° in this case!</span></div><div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01547"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a45992a0399175af9c87bd2bbec15d98b"> 1547</a></span>&#160;<span class="preprocessor">#define FEATURE_AXISCOMP 0</span></div><div class="line"><a name="l01548"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a027256894368c28ccc3a2a4cc893ceea"> 1548</a></span>&#160;<span class="preprocessor">#define AXISCOMP_TANXY 0</span></div><div class="line"><a name="l01549"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a4edce7f3ddf59f15c893230604859a97"> 1549</a></span>&#160;<span class="preprocessor">#define AXISCOMP_TANYZ 0</span></div><div class="line"><a name="l01550"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a2fb1e295b4236383ecb5ded5843be5e1"> 1550</a></span>&#160;<span class="preprocessor">#define AXISCOMP_TANXZ 0</span></div><div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;</div><div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160;</div><div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;</div><div class="line"><a name="l01557"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9c7dc7d8da1052191bc2f199fb1ea576"> 1557</a></span>&#160;<span class="preprocessor">#define FEATURE_SOFTWARE_LEVELING 0</span></div><div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;</div><div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;<span class="comment">/* Babystepping allows to change z height during print without changing official z height */</span></div><div class="line"><a name="l01560"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a28b1ecc08a02c40a694af0a286b4afd8"> 1560</a></span>&#160;<span class="preprocessor">#define FEATURE_BABYSTEPPING 0</span></div><div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;<span class="comment">/* If you have a threaded rod, you want a higher multiplicator to see an effect. Limit value to 50 or you get easily overflows.*/</span></div><div class="line"><a name="l01562"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad6202cd2265c931e3acbecc6c6db14c4"> 1562</a></span>&#160;<span class="preprocessor">#define BABYSTEP_MULTIPLICATOR 1</span></div><div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>&#160;</div><div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160;<span class="comment">/* Define a pin to tuen light on/off */</span></div><div class="line"><a name="l01565"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a420259c9d480b04b5c81eb5318539729"> 1565</a></span>&#160;<span class="preprocessor">#define CASE_LIGHTS_PIN -1</span></div><div class="line"><a name="l01566"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aaa7b0ad66b4240f7b8106cdb2fd7149f"> 1566</a></span>&#160;<span class="preprocessor">#define CASE_LIGHT_DEFAULT_ON 1</span></div><div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160;</div><div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;<span class="preprocessor">#ifndef SDSUPPORT  // Some boards have SD support on board. These define the values already in pins.h</span></div><div class="line"><a name="l01570"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0e105391d91394f09eb1323ef59de986"> 1570</a></span>&#160;<span class="preprocessor">#define SDSUPPORT false</span></div><div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;<span class="comment">// Uncomment to enable or change card detection pin. With card detection the card is mounted on insertion.</span></div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;<span class="preprocessor">#undef SDCARDDETECT</span></div><div class="line"><a name="l01573"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a19351fb959a73fabc4b684894d7fd7d3"> 1573</a></span>&#160;<span class="preprocessor">#define SDCARDDETECT -1</span></div><div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;<span class="comment">// Change to true if you get a inserted message on removal.</span></div><div class="line"><a name="l01575"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0edc3c8323a59df05795272d006cf890"> 1575</a></span>&#160;<span class="preprocessor">#define SDCARDDETECTINVERTED false</span></div><div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160;</div><div class="line"><a name="l01578"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad9d358ddc3c8d8d17e31007e50814660"> 1578</a></span>&#160;<span class="preprocessor">#define SD_EXTENDED_DIR 1</span></div><div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;</div><div class="line"><a name="l01581"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a282a081075f4ae076ee56387f3ca3565"> 1581</a></span>&#160;<span class="preprocessor">#define SD_RUN_ON_STOP &quot;&quot;</span></div><div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160;</div><div class="line"><a name="l01583"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa77be1e5c7feb0ae235c5137a1dd7f68"> 1583</a></span>&#160;<span class="preprocessor">#define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1</span></div><div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160;</div><div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>&#160;<span class="comment">// If you want support for G2/G3 arc commands set to true, otherwise false.</span></div><div class="line"><a name="l01586"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a04c3e4e97298e790df11d5fa207e8cc8"> 1586</a></span>&#160;<span class="preprocessor">#define ARC_SUPPORT 1</span></div><div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;</div><div class="line"><a name="l01590"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7a6e8b66901ec17312c4712cad1db50f"> 1590</a></span>&#160;<span class="preprocessor">#define FEATURE_MEMORY_POSITION 1</span></div><div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>&#160;</div><div class="line"><a name="l01593"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3cf5cd86c6aa268a525f6ff8e3cbe055"> 1593</a></span>&#160;<span class="preprocessor">#define FEATURE_CHECKSUM_FORCED 0</span></div><div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160;</div><div class="line"><a name="l01598"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad9432f5b6e67eb031fdbf57b6cf82ceb"> 1598</a></span>&#160;<span class="preprocessor">#define FEATURE_FAN_CONTROL 1</span></div><div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;</div><div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;<span class="comment">/* You can have a second fan controlled by adding P1 to M106/M107 command. */</span></div><div class="line"><a name="l01601"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a929f570b1c61acd88c50a8e3910cdaa1"> 1601</a></span>&#160;<span class="preprocessor">#define FEATURE_FAN2_CONTROL 0</span></div><div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;<span class="comment">//#define FAN2_PIN ORIG_FAN2_PIN</span></div><div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;</div><div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;<span class="comment">/* By setting FAN_BOARD_PIN to a pin number you get a board cooler. That fan </span></div><div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>&#160;<span class="comment">goes on as soon as moves occur. Mainly to prevent overheating of stepper drivers. */</span></div><div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>&#160;<span class="comment">//#undef FAN_BOARD_PIN</span></div><div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>&#160;<span class="comment">//#define FAN_BOARD_PIN ORIG_FAN_PIN</span></div><div class="line"><a name="l01609"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a544b7fe0c9b12a2eccca0a4ed8df4685"> 1609</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define BOARD_FAN_SPEED 255</span></div><div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;<span class="comment">/* Speed when no cooling is required. Normally 0 but if you need slightly cooling</span></div><div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;<span class="comment">it can be set here */</span></div><div class="line"><a name="l01612"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a17c40de3f478c554fb054903cd466fdd"> 1612</a></span>&#160;<span class="preprocessor">#define BOARD_FAN_MIN_SPEED 0</span></div><div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;<span class="comment">/* You can have one additional fan controlled by a temperature. You can set</span></div><div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;<span class="comment">   set at which temperature it should turn on and at which it should reach max. speed.</span></div><div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01616"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae71a7171b604f5f93b7eca00bc260288"> 1616</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_PIN -1</span></div><div class="line"><a name="l01617"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa443c925ee692971cf862c6823b4588f"> 1617</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_MIN_PWM 128</span></div><div class="line"><a name="l01618"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a8ddd3a2076a5b8773c7b7f7e5a96cbec"> 1618</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_MAX_PWM 255</span></div><div class="line"><a name="l01619"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aef0a046d0104d8211a2189a73b53b33d"> 1619</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_MIN_TEMP 45</span></div><div class="line"><a name="l01620"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a52f5daee9ae881465ee2b33d3dea2e99"> 1620</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_MAX_TEMP 60</span></div><div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160;<span class="comment">// Analog pin number or channel for due boards</span></div><div class="line"><a name="l01622"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a814c8cd01ded79782f0a9f79831bf915"> 1622</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_THERMISTOR_PIN -1</span></div><div class="line"><a name="l01623"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae2fdd7d95b5d1ac0f3462e0fbfe4fd31"> 1623</a></span>&#160;<span class="preprocessor">#define FAN_THERMO_THERMISTOR_TYPE 1</span></div><div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>&#160;</div><div class="line"><a name="l01631"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a54ec44485359368493b9412a951ccb2e"> 1631</a></span>&#160;<span class="preprocessor">#define DOOR_PIN -1</span></div><div class="line"><a name="l01632"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a19d198d38fceb374078b1312a35ce305"> 1632</a></span>&#160;<span class="preprocessor">#define DOOR_PULLUP 1</span></div><div class="line"><a name="l01633"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab365965b16d31ef4977e009b01d18602"> 1633</a></span>&#160;<span class="preprocessor">#define DOOR_INVERTING 1</span></div><div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>&#160;</div><div class="line"><a name="l01639"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad53dbfe9652a4ea84efb169c931bbae2"> 1639</a></span>&#160;<span class="preprocessor">#define FEATURE_JSON 0</span></div><div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>&#160;</div><div class="line"><a name="l01671"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a682e53a9f87d58fffe94ab430daefeb6"> 1671</a></span>&#160;<span class="preprocessor">#define FEATURE_CONTROLLER NO_CONTROLLER</span></div><div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>&#160;</div><div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>&#160;<span class="comment">/* You can have one keypad connected via single analog pin as seen on</span></div><div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>&#160;<span class="comment"> some printers with Melzi V2.0 board, 20x4 LCD and 5 buttons keypad. This must be</span></div><div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>&#160;<span class="comment"> the analog pin number! */</span></div><div class="line"><a name="l01676"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acf08ef4ffa4aaf919f5fecd803a82512"> 1676</a></span>&#160;<span class="preprocessor">#define ADC_KEYPAD_PIN -1</span></div><div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>&#160;</div><div class="line"><a name="l01685"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7dc5fede8851b849e6a4ba8028b9098d"> 1685</a></span>&#160;<span class="preprocessor">#define LANGUAGE_EN_ACTIVE 1 // English</span></div><div class="line"><a name="l01686"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aca90e6635223d8a6043a671136a40dab"> 1686</a></span>&#160;<span class="preprocessor">#define LANGUAGE_DE_ACTIVE 1 // German</span></div><div class="line"><a name="l01687"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae6d6ca9e32fca340afb7833ca6ce7812"> 1687</a></span>&#160;<span class="preprocessor">#define LANGUAGE_NL_ACTIVE 0 // Dutch</span></div><div class="line"><a name="l01688"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a93ac70151546dacfbe62fa7902ca7810"> 1688</a></span>&#160;<span class="preprocessor">#define LANGUAGE_PT_ACTIVE 1 // Brazilian Portuguese</span></div><div class="line"><a name="l01689"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac4a01638c8287695c37f6430868a7312"> 1689</a></span>&#160;<span class="preprocessor">#define LANGUAGE_IT_ACTIVE 1 // Italian</span></div><div class="line"><a name="l01690"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a770a79549b8ef0c03d3758760b1cf627"> 1690</a></span>&#160;<span class="preprocessor">#define LANGUAGE_ES_ACTIVE 1 // Spanish</span></div><div class="line"><a name="l01691"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#acdba66af8669e42a26b0acbadd1819c4"> 1691</a></span>&#160;<span class="preprocessor">#define LANGUAGE_FI_ACTIVE 0 // Finnish</span></div><div class="line"><a name="l01692"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa7550e3af5b84bb802c54c99f36d56de"> 1692</a></span>&#160;<span class="preprocessor">#define LANGUAGE_SE_ACTIVE 0 // Swedish</span></div><div class="line"><a name="l01693"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a9149534a415ef5d6b07e318bf6a9d922"> 1693</a></span>&#160;<span class="preprocessor">#define LANGUAGE_FR_ACTIVE 1 // French</span></div><div class="line"><a name="l01694"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a647ce35260ee5bd6f52f8a5dbb718046"> 1694</a></span>&#160;<span class="preprocessor">#define LANGUAGE_CZ_ACTIVE 0 // Czech</span></div><div class="line"><a name="l01695"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a74a5fb9cc2d4c2adf4a8963caae3c5af"> 1695</a></span>&#160;<span class="preprocessor">#define LANGUAGE_PL_ACTIVE 1 // Polish</span></div><div class="line"><a name="l01696"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a38c4ad9a44e9719a18c7dc878a38fb11"> 1696</a></span>&#160;<span class="preprocessor">#define LANGUAGE_TR_ACTIVE 1 // Turkish</span></div><div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>&#160;</div><div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;<span class="comment">/* Some displays loose their settings from time to time. Try uncommenting the</span></div><div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>&#160;<span class="comment">auto-repair function if this is the case. It is not supported for all display</span></div><div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>&#160;<span class="comment">types. It creates a minimal flicker from time to time and also slows down</span></div><div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>&#160;<span class="comment">computations, so do not enable it if your display works stable!</span></div><div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>&#160;<span class="comment">//#define TRY_AUTOREPAIR_LCD_ERRORS</span></div><div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>&#160;</div><div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;<span class="comment">// This is line 2 of the status display at startup. Change to your like.</span></div><div class="line"><a name="l01706"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3d54fd865db9e4902b871b2e71b6c15c"> 1706</a></span>&#160;<span class="preprocessor">#define UI_PRINTER_NAME &quot;MyPrinter&quot;</span></div><div class="line"><a name="l01707"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aea0a00e1a55484219639cb68ab5f5e3f"> 1707</a></span>&#160;<span class="preprocessor">#define UI_PRINTER_COMPANY &quot;Self Made&quot;</span></div><div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160;</div><div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;</div><div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;<span class="comment">//#define UI_HEAD &quot;E1:%e0/%E0 E2:%e1/%E1 B:%eb/%Eb&quot;</span></div><div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;</div><div class="line"><a name="l01715"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a3a7ac572f59523065f8cc7f46b4d6979"> 1715</a></span>&#160;<span class="preprocessor">#define UI_PAGES_DURATION 4000</span></div><div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;</div><div class="line"><a name="l01718"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a03f98986f96e1012025984a43a31f03b"> 1718</a></span>&#160;<span class="preprocessor">#define UI_START_SCREEN_DELAY 1000</span></div><div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;</div><div class="line"><a name="l01721"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad54b6782a841ebc25f37a751ef222fc8"> 1721</a></span>&#160;<span class="preprocessor">#define UI_DISABLE_AUTO_PAGESWITCH 1</span></div><div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;</div><div class="line"><a name="l01724"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aa06eb30bc10293da1641d37b8d20c6d9"> 1724</a></span>&#160;<span class="preprocessor">#define UI_AUTORETURN_TO_MENU_AFTER 30000</span></div><div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>&#160;</div><div class="line"><a name="l01726"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a177ce40fea67d3478cba80c669cd0d81"> 1726</a></span>&#160;<span class="preprocessor">#define FEATURE_UI_KEYS 0</span></div><div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;</div><div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;<span class="comment">/* Normally cou want a next/previous actions with every click of your encoder.</span></div><div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>&#160;<span class="comment">Unfortunately, the encoder have a different count of phase changes between clicks.</span></div><div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>&#160;<span class="comment">Select an encoder speed from 0 = fastest to 2 = slowest that results in one menu move per click.</span></div><div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01732"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac80947b6ab1c0c03fa4ec2b8c6bbc0a3"> 1732</a></span>&#160;<span class="preprocessor">#define UI_ENCODER_SPEED 1</span></div><div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160;</div><div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;<span class="comment">// Set to 1 to reverse encoder direction</span></div><div class="line"><a name="l01735"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a575b43296b344c86691c3383b8ca37af"> 1735</a></span>&#160;<span class="preprocessor">#define UI_REVERSE_ENCODER 0</span></div><div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;</div><div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;<span class="comment">/* There are 2 ways to change positions. You can move by increments of 1/0.1 mm resulting in more menu entries</span></div><div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;<span class="comment">and requiring many turns on your encode. The alternative is to enable speed dependent positioning. It will change</span></div><div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160;<span class="comment">the move distance depending on the speed you turn the encoder. That way you can move very fast and very slow in the</span></div><div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;<span class="comment">same setting.</span></div><div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;<span class="comment"></span></div><div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01743"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#adff3e56ae54dcab96d975f15efbb88c5"> 1743</a></span>&#160;<span class="preprocessor">#define UI_SPEEDDEPENDENT_POSITIONING 1</span></div><div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;</div><div class="line"><a name="l01746"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a7829f3cddd3d7bf0e030bc3a12fd4ea7"> 1746</a></span>&#160;<span class="preprocessor">#define UI_DYNAMIC_ENCODER_SPEED 1          // enable dynamic rotary encoder speed</span></div><div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;</div><div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;</div><div class="line"><a name="l01750"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#afce9d3cf25e6caa3bd0920d22880fe15"> 1750</a></span>&#160;<span class="preprocessor">#define UI_KEY_BOUNCETIME 10</span></div><div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;</div><div class="line"><a name="l01753"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aed0faceac5c328e5e32f6794a6489e22"> 1753</a></span>&#160;<span class="preprocessor">#define UI_KEY_FIRST_REPEAT 500</span></div><div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>&#160;</div><div class="line"><a name="l01755"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad169f5a41e4150e9587557c17c611103"> 1755</a></span>&#160;<span class="preprocessor">#define UI_KEY_REDUCE_REPEAT 50</span></div><div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>&#160;</div><div class="line"><a name="l01757"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ad482f8e5ce4ba20aa5db7e165207dbd3"> 1757</a></span>&#160;<span class="preprocessor">#define UI_KEY_MIN_REPEAT 50</span></div><div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>&#160;</div><div class="line"><a name="l01759"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#abf0e7ad54a0fd071912cb512876c2ee6"> 1759</a></span>&#160;<span class="preprocessor">#define FEATURE_BEEPER 1</span></div><div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>&#160;</div><div class="line"><a name="l01766"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a0d19ce62862c0dcb7c2279a834564fdb"> 1766</a></span>&#160;<span class="preprocessor">#define BEEPER_SHORT_SEQUENCE 2,2</span></div><div class="line"><a name="l01767"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a1c2445db031d3097d68348156dee1657"> 1767</a></span>&#160;<span class="preprocessor">#define BEEPER_LONG_SEQUENCE 8,8</span></div><div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160;</div><div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160;<span class="comment">// ###############################################################################</span></div><div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;<span class="comment">// ##                         Values for menu settings                          ##</span></div><div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;<span class="comment">// ###############################################################################</span></div><div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;</div><div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;<span class="comment">If you have leveling with bed coating or fixed z min you can use this menu to adjust </span></div><div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;<span class="comment">0 height with a simple bed coating menu which adds coating thickness.</span></div><div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01777"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac3d251cb984c8ea5148c13228009947d"> 1777</a></span>&#160;<span class="preprocessor">#define UI_BED_COATING 0</span></div><div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;<span class="comment">// Values used for preheat</span></div><div class="line"><a name="l01779"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a6ce408a273a47e36d05ad391251b9af6"> 1779</a></span>&#160;<span class="preprocessor">#define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60</span></div><div class="line"><a name="l01780"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af34de32b962bbea62608aca4b56efee3"> 1780</a></span>&#160;<span class="preprocessor">#define UI_SET_PRESET_EXTRUDER_TEMP_PLA   180</span></div><div class="line"><a name="l01781"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ac24bd3209748e044b2838fe96c20904f"> 1781</a></span>&#160;<span class="preprocessor">#define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110</span></div><div class="line"><a name="l01782"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a67c80658bf8ecb46d37b05dd724c95f3"> 1782</a></span>&#160;<span class="preprocessor">#define UI_SET_PRESET_EXTRUDER_TEMP_ABS   240</span></div><div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>&#160;<span class="comment">// Extreme values</span></div><div class="line"><a name="l01784"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a79cd0373f27a638ae3286b9c556bb0a5"> 1784</a></span>&#160;<span class="preprocessor">#define UI_SET_MIN_HEATED_BED_TEMP  55</span></div><div class="line"><a name="l01785"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aff9163f76d7bfb6d571ce33d9006abbe"> 1785</a></span>&#160;<span class="preprocessor">#define UI_SET_MAX_HEATED_BED_TEMP 120</span></div><div class="line"><a name="l01786"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ade1c8c3f309648410c31e9be53527f90"> 1786</a></span>&#160;<span class="preprocessor">#define UI_SET_MIN_EXTRUDER_TEMP   160</span></div><div class="line"><a name="l01787"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ab2d537b4ae1ca7fd2716fc350d930f9c"> 1787</a></span>&#160;<span class="preprocessor">#define UI_SET_MAX_EXTRUDER_TEMP   270</span></div><div class="line"><a name="l01788"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#a664c8587663c88f6120139d7d4fd6909"> 1788</a></span>&#160;<span class="preprocessor">#define UI_SET_EXTRUDER_FEEDRATE 2 // mm/sec</span></div><div class="line"><a name="l01789"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#ae37444e394882d0b51fc99926c13c019"> 1789</a></span>&#160;<span class="preprocessor">#define UI_SET_EXTRUDER_RETRACT_DISTANCE 3 // mm</span></div><div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;</div><div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160;</div><div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>&#160;<span class="comment">#define USER_KEY1_PIN     UI_DISPLAY_D5_PIN      // D5 to display (not used for graphics controller), change to other pin if you use character LCD !</span></div><div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;<span class="comment">#define USER_KEY1_ACTION  UI_ACTION_FAN_SUSPEND</span></div><div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>&#160;<span class="comment">#define USER_KEY2_PIN     UI_DISPLAY_D6_PIN      // D6 to display (not used for graphics controller)...</span></div><div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;<span class="comment">#define USER_KEY2_ACTION  UI_ACTION_SD_PRI_PAU_CONT</span></div><div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;<span class="comment">#define USER_KEY3_PIN     UI_DISPLAY_D7_PIN      // D7 to display (not used for graphics controller)...</span></div><div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;<span class="comment">#define USER_KEY3_ACTION  UI_ACTION_LIGHTS_ONOFF</span></div><div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;<span class="comment">#define USER_KEY4_PIN     -1</span></div><div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;<span class="comment">#define USER_KEY4_ACTION  UI_ACTION_DUMMY</span></div><div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;</div><div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;</div><div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;<span class="comment">// ####### Advanced stuff for very special function #########</span></div><div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;</div><div class="line"><a name="l01806"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#af829bfecb08f53c6e94a9d976fb810ef"> 1806</a></span>&#160;<span class="preprocessor">#define NUM_MOTOR_DRIVERS 0</span></div><div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160;<span class="comment">// #define MOTOR_DRIVER_x StepperDriver&lt;int stepPin, int dirPin, int enablePin,bool invertDir, bool invertEnable&gt;(float stepsPerMM,float speed)</span></div><div class="line"><a name="l01808"></a><span class="lineno"><a class="line" href="_configuration__act_8h.html#aee1e0e815686548b16e787f7df004fc0"> 1808</a></span>&#160;<span class="preprocessor">#define MOTOR_DRIVER_1(var) StepperDriver&lt;E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, false, false&gt; var(100.0f,5.0f)</span></div><div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160;</div><div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>&#160;<span class="comment">  You can expand firmware functionality with events and you own event handler.</span></div><div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>&#160;<span class="comment">  Read Events.h for more informations. To activate, uncomment the following define.</span></div><div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>&#160;<span class="comment">//#define CUSTOM_EVENTS</span></div><div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>&#160;</div><div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>&#160;</div><div class="ttc" id="pins_8h_html"><div class="ttname"><a href="pins_8h.html">pins.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cdf0096ae548159f0698b0a71289cf6c.html">ArduinoAVR</a></li><li class="navelem"><a class="el" href="dir_360d65efbdba454d299657bac363b72c.html">Repetier</a></li><li class="navelem"><a class="el" href="_configuration__act_8h.html">Configuration_act.h</a></li>
    <li class="footer">Generated on Thu Sep 14 2017 16:52:43 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
